title: Two Rows of Weighted Buttons
body: <p>I am trying to render the main menu screen with four buttons, two rows of two buttons, that are weighted toward the bottom of the page. The only problem is that the top row of buttons covers the bottom row. Any assistance is greatly appreciated!</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_margin="4dp"
      android:orientation="horizontal"
      android:layout_gravity="bottom"
      tools:context="MainActivity"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:id="@+id/relativeLayout"
          android:orientation="horizontal"&gt;
  
          &lt;Button
              android:id="@+id/btn1"
              android:layout_width="0dp"
              android:layout_weight="1"
              android:layout_height="wrap_content"
              android:text="@string/btn_1" /&gt;
  
          &lt;Button
              android:id="@+id/btn2"
              android:layout_width="0dp"
              android:layout_weight="1"
              android:layout_height="wrap_content"
              android:text="@string/btn_2" /&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal"&gt;
  
          &lt;Button
              android:id="@+id/btn3"
              android:layout_width="0dp"
              android:layout_weight="1"
              android:layout_height="wrap_content"
              android:text="@string/btn_3" /&gt;
  
          &lt;Button
              android:id="@+id/btn4"
              android:layout_width="0dp"
              android:layout_weight="1"
              android:layout_height="wrap_content"
              android:text="@string/btn_4" /&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>