title: Fragments disappears after adding ButtonBar to the layout
body: <p>I am trying to create a master detail UI with three fragments and two buttons button bar. For some reason, the fragments are not showing up in the UI after adding the button bar. I suspect it has something to do with the orientation of the layout but I'll leave it up to the experts here. </p>
  
  <p><a href="http://i.imgur.com/t9HOXzv.png?1?4510" rel="nofollow">Before adding the button bar</a></p>
  
  <p><a href="http://i.imgur.com/vFRc1NQ.png?1" rel="nofollow">After adding the button bar</a></p>
  
  <p>Here is the XML layout of the UI</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:baselineAligned="false"
  android:orientation="horizontal" &gt;
  
  &lt;fragment
      android:id="@+id/mainBodyFragment"
      android:layout_width="0dp"
      android:layout_height="match_parent"
      android:layout_weight="1"
      class="com.dreamcode.healttracker.MainBodyArea" /&gt;
  
  &lt;fragment
      android:id="@+id/subBodyFragment"
      android:layout_width="0dp"
      android:layout_height="match_parent"
      android:layout_weight="1"
      class="com.dreamcode.healttracker.SubBodyArea" /&gt;
  
  &lt;fragment
      android:id="@+id/symptomFragment"
      android:layout_width="0dp"
      android:layout_height="match_parent"
      android:layout_weight="3"
      class="com.dreamcode.healttracker.Symptom" /&gt;
  
  &lt;LinearLayout
      android:id="@+id/footer"
      style="@android:style/ButtonBar"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_gravity="bottom"
      android:background="#F0F0F0"
      android:orientation="horizontal" &gt;
  
      &lt;Button
          android:id="@+id/btn_Generate"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:background="@drawable/borderless_button"
          android:text="@string/generate" /&gt;
  
      &lt;View
          android:layout_width="1dp"
          android:layout_height="fill_parent"
          android:background="#909090" /&gt;
  
      &lt;Button
          android:id="@+id/btn_ViewList"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:background="@drawable/borderless_button"
          android:text="@string/viewlist" /&gt;
  &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>