GridView层属性

  1. android:columnWidth:Specifies the fixed width for each column.列的宽度

    Related Methods

    • setColumnWidth(int)
  2. android:gravity:Specifies the gravity within each cell.:每一个格子里的内容的位置

    Related Methods

    • setGravity(int)
  3. android:horizontalSpacing:Defines the default horizontal spacing between columns.:定义水平列与列之间的距离

    Related Methods

    • setHorizontalSpacing(int)
  4. android:numColumns:设置列数

    Related Methods

    • setNumColumns(int)
  5. android:stretchMode:Defines how columns should stretch to fill the available empty space, if any.设置拉伸列

    Related Methods

    • setStretchMode(int)
  6. android:verticalSpacing:垂直方向上的距离

    Related Methods

    • setVerticalSpacing(int)

你可能感兴趣的:(GridView层属性)