Code example for GridView

Methods: setGravitysetHorizontalSpacingsetNumColumnssetStretchModesetVerticalSpacing, setOnItemClickListener