RelativeLayout Layout
Android: layout_marginTop = "25dip" // distance from the top to android: gravity = "left" // spatial layout location android: layout_marginLeft = "15dip // left margin // relative to the given ID control android: layout_above, place the bottom of the control on the control with the given ID; android: layout_below places the bottom of the control under the control with the given ID. android: layout_toLeftOf alignment the right edge of the control with the given ID. android: layout_toRightOf align the left edge of the control with the right edge of the control with the given ID; android: layout_alignBaseline alignbaseline; android: layout_alignTop: Align the top edge of the control with the top edge of the given ID; android: layout_alignBottom: Align the bottom edge of the control with the bottom edge of the given ID; android: layout_alignLeft alignleft alignright: if layout_alignParentTop is true, align the top of the control with the top of its parent control; If android: layout_alignParentBottom is true, align the bottom of the control with the bottom of its parent control; android: if layout_alignParentLeft is true, align the left of the control with the left of its parent control; If android: layout_alignParentRight is true, align the right of the control with the right of its parent control; // center android: layout_centerHorizontal if true, place the control in the horizontal center; android: layout_centerVertical if true, place the control in the vertical center; android: layout_centerInParent if true, place the control in the center of the parent control; // specify the offset value on the mobile pixel android: layout_marginTop; the offset value under android: layout_marginBottom; and the left offset value of android: layout_marginLeft; android: value of the right offset of layout_marginRight;