Android开发之GridView属性介绍

来源:互联网 发布:我的域名怎么建设网站 编辑:程序博客网 时间:2024/05/18 07:47

原文链接:http://blog.csdn.net/hellogv/article/details/4567095

 

 android:numColumns="auto_fit" ,GridView的列数设置为自动

android:columnWidth="90dp",每列的宽度,也就是Item的宽度
android:stretchMode="columnWidth",缩放与列宽大小同步
android:verticalSpacing="10dp",两行之间的边距

android:horizontalSpacing="10dp",两列之间的边距。

 

 

 

0 0
原创粉丝点击