(笔记)Android studio——相对布局(RelativeLayout)

1、(相对父类)android     alignParent(Top/Bottom)相对于父类的布局位置(上下)    alignParent(Right/Left)相对于父类的布局位置(左右)    centerInParent相对于父类的布局位置(中心布局)2、(相对控件)——配合使用    layout_(above/below)="@id/bt2(即控件id)"相对于控件bt2位置的上下
相关文章
相关标签/搜索