android:shrinkColumns的用法 (2011-04-21 22:12:35)

来源:互联网 发布:pump it up 下载 编辑:程序博客网 时间:2024/05/29 11:02

转载
标签: 

it

分类: Android开发

android开发中有一种布局称为“表格布局”(Table Layout),其中有一个参数为android:shrinkColumns,常见用法有android:shrinkColumns="0,2",表示拉伸第0列,第2列(第1列不变)填满布局,那如果我们要拉伸所有列呢?当然可以android:shrinkColumns="0,1,2,...",其实有简单方法:android:shrinkColumns="*","*"类似于搜索的通配符哦~表示全部!

OK!