摘要: 首先引用这篇文章:http://sinye.iteye.com/blog/1068204文中对layout_weight的使用环境进行了描述,我总结一下,这是我的测试条件:1,控件所在layout必须是LinearLayout。2,LinearLayout的orientation属性设置成“horizontal”。3,子控件的layout_width属性设置为“fill_parent”。1,两个子控件,1:1xml: 1 <LinearLayout android:id="@+id/custom_titlebar" 2 xmlns:android="http 阅读全文
posted @ 2012-03-30 12:45 风吹倒了蕉 阅读(1338) 评论(0) 推荐(0) 编辑