Android relativelayout layout, that is, relative layout. relative to the control location, when the following attributes are not used to determine the relative positions between controls, the controls overlap.
Reference: Android: layout_above = "@ ID /****"
Android: layout_abve: controls the bottom of the control above the control with the given ID
Android: layout_bellow
Android: layout_toleftof align the right edge of the control with the left 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_alignbasline the baseline of the control is aligned with the baseline of the control with the given ID
Android: layout_alignbottom: Align the bottom edge of the control with the bottom edge of the given ID Control
Android: layout_alignleft: Align the left edge of the control with the given ID
Android: layout_alignright: Align the right edge of the control with the right edge of the given ID Control
Android: layout_aligntop: Align the top edge of the control with the top edge of the given ID Control
Android: layout_alignparentbottom if the value is true, align the top edge of the control with the given ID
Android: layout_alignparentleft if the value is true, the left side of the control is aligned with the left side of the parent control.
Android: layout_alignparentright if the value is true, the right side of the control is aligned with the right side of the parent control.
Android: layout_alignparenttop if the value is true, the top of the control is aligned with the top of the parent control.
Android: layout_centerhorizontal if the value is true, the control is placed in the center of the horizontal direction.
Android: layout_centerinparent if the value is true, this control will be placed in the center of the horizontal and vertical directions of the parent Control
Android: layout_centervertical if this value is true, the control will be placed in the center of the vertical direction