Android--(10)--詳解相對佈局(RelativeLayout)

RelativeLayout特色:組件的位置老是相對於兄弟組件或者父容器來決定。若是A的位置由B決定,必須先定義組件B,再定義組件A;android 相對佈局中的四種控件位置屬性: (1)與兄弟空間外側的四個方位對齊     android:layout_toLeftOf=」@id/text1」 該控件在text1的左邊;     android:layout_toRightOf=」@id/tex
相關文章
相關標籤/搜索