Code example for GridView

Methods: setGravitysetHorizontalSpacingsetNumColumnssetStretchModesetVerticalSpacing, setLayoutParams, setOnItemClickListener, setPadding, setSelector