title: Position RelativeLayout below RelativeLayout
body: <p><a href="http://i.stack.imgur.com/RxFjP.png" rel="nofollow">RelativeLayout in Android Studio</a></p>
  
  <p>i have  a horizontal LinearLayout in which i have a RelativeLayout and i want another RelativeLayout to be below it and likewise throughout the xml file but the Layout is appearing at the immediate right of the previous Layout</p>
  
  <p>i have tried to set the top margin of the RelativeLayout to a certain random value e.g 60sp it positions below the previous RelativeLayout but when i add TextView the TextView Does Not Show up in the design view</p>
  
  <p><a href="http://i.stack.imgur.com/H0zga.png" rel="nofollow">After adding textview to RelativeLayout</a></p>
  
  <p>How do i position the Layout below the previous RelativeLayout ? and also how do i add TextViews to this RelativeLayout and display them ?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="horizontal" android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@drawable/calcbackground"
  android:weightSum="1"&gt;
  
  &lt;RelativeLayout
      android:layout_width="fill_parent"
      android:layout_height="53dp"
      &gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textAppearance="?android:attr/textAppearanceSmall"
          android:text="SHIFT"
          android:id="@+id/shifttextiew"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true" /&gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textAppearance="?android:attr/textAppearanceSmall"
          android:text="DEG"
          android:id="@+id/degtextview"
          android:layout_alignParentTop="true"
          android:layout_toRightOf="@+id/shifttextiew"
          android:layout_toEndOf="@+id/shifttextiew"
          android:layout_marginLeft="31dp"
          android:layout_marginStart="31dp" /&gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textAppearance="?android:attr/textAppearanceSmall"
          android:text="RAD"
          android:id="@+id/radtextview"
          android:layout_alignParentTop="true"
          android:layout_toRightOf="@+id/degtextview"
          android:layout_toEndOf="@+id/degtextview"
          android:layout_marginLeft="30dp"
          android:layout_marginStart="30dp" /&gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textAppearance="?android:attr/textAppearanceSmall"
          android:text="GRAD"
          android:id="@+id/gradtextview"
          android:layout_alignParentTop="true"
          android:layout_toRightOf="@+id/radtextview"
          android:layout_toEndOf="@+id/radtextview"
          android:layout_marginLeft="41dp"
          android:layout_marginStart="41dp" /&gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textAppearance="?android:attr/textAppearanceLarge"
          android:text="12345678910"
          android:id="@+id/calculationtextview"
          android:layout_alignParentBottom="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
          android:layout_below="@+id/shifttextiew"
          android:layout_alignParentRight="true"
          android:layout_alignParentEnd="true" /&gt;
  
  &lt;/RelativeLayout&gt;
  
  &lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_marginTop="60sp"&gt;
  
  &lt;/RelativeLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>