The RelativeLayout provides some tags for the positioning of Views/ViewGroups relative to another View/ViewGroup.
android:layout_below="id"
andandroid:layout_above="id"
This will put the View below/above another View with the id.android:layout_alignRightOf="id"
andandroid:layout_alignLeftOf="id"
This will put the View to the right/left of another View with the id.
All tags have the same usability like this, where I use the android:layout_below="" to set a View/ViewGroup below another:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rl_page"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<--! YOUR LAYOUT AT THE TOP OF YOUR PARENT -->
<LinearLayout
android:id="@+id/ll_first"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"></LinearLayout>
<LinearLayout android:id="@+id/ll_second"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_below="@id/ll_first" ></LinearLayout>
<LinearLayout
android:id="@+id/ll_third"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_below="@id/ll_second"></LinearLayout>
</RelativeLayout>
Now you can use some margins for the position of every View.