Android中将layout_width或layout_height设置为0的情况
当使用view的layout_weight属性时,可以将layout_width设置为0,原因是这样可以让系统减少一次长度或宽度的计算。官方解释如下:In order to improve the layout efficiency when you specify the weight, you should change the width of theEditText t
原创
2014-01-14 18:44:41 ·
9418 阅读 ·
0 评论