Android之相對佈局RelativeLayout

1.概念 相對佈局與父組件或兄弟組件的相對位置 2.屬性 2.1相對父組件 相對父組件,存在同方向對齊及居中 同方向對齊 居中 2.2相對兄弟組件 相對兄弟組件,存在同方向對齊及反方向對齊 同方向對齊 反方向對齊 android:layout_above android:layout_below android:layout_toLeft android:layout_toRight 實例 代碼
相關文章
相關標籤/搜索