RelativeLayout
RelativeLayout有四套相对属性
1.与父控件边缘对齐
layout_alignParent top,bottom,left,right
2.与父控件中心对齐
layout_centerInParent centerVertical ,centerHorizentol
3.子控件与子控件对齐
layout_above,layout_below,layout_toLeftof,layout_toRightof
4.子控件与子控件边缘对齐
layout_alingnTop=”@id/目标id”,alignBottm,alignLeft,alignRight
”’
1)