title: Andorid: How do I align all the items in Relative Layout to the bottom of the screen
body: <p>I have put a linear layout inside a relative layout and I am trying to align the parent relative layout to the bottom of the screen. </p>
  
  <pre><code>&lt;RelativeLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom"&gt;
          &lt;TextView
              android:id="@+id/fruits"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Fruits"
              android:layout_centerHorizontal="true"
              /&gt;
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:padding="16sp"
              android:layout_alignParentBottom="true"
              android:gravity="bottom"&gt;
              &lt;TextView
                  android:id="@+id/message"
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent"
                  android:text="Message: " /&gt;
              &lt;EditText
                  android:id="@+id/message_text"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content" /&gt;
  
          &lt;/LinearLayout&gt;
      &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Im basically trying to center a Text and there is a Text and Edit Text underneath it and align them all to the bottom of the screen</p>
  
  <pre><code>            Fruits
  Message: ___________________________
  </code></pre>