(筆記)Android studio——相對佈局(RelativeLayout)

1、(相對父類)android     alignParent(Top/Bottom)相對於父類的佈局位置(上下)    alignParent(Right/Left)相對於父類的佈局位置(左右)    centerInParent相對於父類的佈局位置(中心佈局)2、(相對控件)——配合使用    layout_(above/below)="@id/bt2(即控件id)"相對於控件bt2位置的上下
相關文章
相關標籤/搜索