Android开发——布局管理基础(二)RelativeLayout相对布局

RelativeLayout线性布局: 线性布局即相对某个组件进行上下左右的布局 必要属性(attribute): 1.android:layout_width——宽度 取值(value):wrap_content:自适配  match_parent:与上级适配   2.android:layout_height——高度 取值:wrap_content:自适配  match_parent:与上级适
相关文章
相关标签/搜索