摘要: 线性布局在xml文件中使用<LinearLayout>来定义。 线性布局可以分为水平和垂直方向的布局,可以通过android:orientation来定义方向,android:orientation=“horizontal”表示水平方向,android:orientation=“vertical”表示垂直方向。 android:layout_width表示控件的宽度,android_layout_height表示控件的高度,其属性值有wrap_content、fill_parent、match_parent三种。其中,wrap_content表示填满父控件的空白,fill_pare 阅读全文
posted @ 2012-11-05 22:50 依旧淡然 阅读(19778) 评论(2) 推荐(1) 编辑
点击右上角即可分享
微信分享提示