美文网首页
GridView层属性

GridView层属性

作者: Passon_Fang | 来源:发表于2016-03-06 21:18 被阅读43次
  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层属性

      本文链接:https://www.haomeiwen.com/subject/hmuakttx.html