Relative Layout is a view group that displays child views in relative positions.
RelativeLayout is a view group that displays child views in relative positions
It is used in android for custom layout designing. Relativeview gives us the ease to place our component/view based on the relative / sibling
We can use Above, Below, Left and Right in relative Layout to arrange the component’s position in with respect to other compnent.
There are different attributes of Relative layout.
In a linear layout, all the elements are displayed in a linear style either vertically or horizontally.
Either Horizontally or Vertically this behavior is set in android:orientation which is an property of the node Linear Layout.