【android】两个按钮的宽度各占屏幕的一半

时间:2014-05-16 05:50:05   收藏:0   阅读:823
1 <LinearLayout>
2     <Button android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_weight="1"/>           
3     <Button android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_weight="1"/> 
4 </LinearLayout>

 

【android】两个按钮的宽度各占屏幕的一半,布布扣,bubuko.com

原文:http://www.cnblogs.com/zhjsll/p/3726298.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!