android:layout_weight

如果我们想要按照权重比例来分配LinearLayout,我们需要将其宽度设置为0dip,如果我们将其宽度设置为“fill_parent"的时候,其控件所占的比例不是权重的比例,我们需要自行计算比例

http://blog.csdn.net/xiaanming/article/details/13630837

posted @ 2016-02-18 21:25  iljyya  阅读(93)  评论(0编辑  收藏  举报