Android開發——佈局管理基礎(二)RelativeLayout相對佈局

RelativeLayout線性佈局: 線性佈局即相對某個組件進行上下左右的佈局 必要屬性(attribute): 1.android:layout_width——寬度 取值(value):wrap_content:自適配  match_parent:與上級適配   2.android:layout_height——高度 取值:wrap_content:自適配  match_parent:與上級適
相關文章
相關標籤/搜索