Code example for GridView

Methods: setAdaptersetGravitysetHorizontalSpacingsetNumColumnssetStretchModesetVerticalSpacing, setLayoutParams, setOnItemClickListener, setSelector