title: Android LinearLayout and weights issue
body: <p>I am having trouble with a LinearLayout and weights in Android. I want a horizontal LinearLayout to hold 2 vertical LinearLayouts separated by a single View with a 9 patch background to be the separator between the 2 vertical LinearLayouts.</p>
  
  <p>Like this: (outer box is the outer LinearLayout and the middle double line is my 9 patch separator.)</p>
  
  <pre><code>----------------------------
  |    one    ||    three    |
  |    two    ||    four     |
  ----------------------------
  </code></pre>
  
  <p>What keeps happening is the first inner LinearLayout displays with minimal width to display its content (as if it's width is <code>wrap_content</code>), then the rest of the space is taken up by the separator view stretched to fill the rest of the outer LinearLayout. The 2nd inner LinearLayout is not displaying at all.</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="horizontal"
      android:weightSum="2" &gt;    
      &lt;LinearLayout
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:gravity="center_horizontal"
          android:layout_weight="1" &gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="one" /&gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="two" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;View
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:background="@drawable/divider_vertical"
          android:layout_weight="0" /&gt;
  
      &lt;LinearLayout
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          android:gravity="center_horizontal"
          android:layout_weight="1" &gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="three" /&gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="four" /&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>What am I doing wrong here? I cannot figure out for the life of me why the middle View is taking up all of the space, leaving none for the second inner LinearLayout.</p>
  
  <p>I can get it to work if I specify a specific px or dp width for the 9-patch view, but I really want it to work without having to specify this width. That way if I decide to change my 9-patch drawable, I won't have to manually update the width.</p>