title: layout_weight and layout_width = 0dp in a linearlayout create an unexpected layout
body: <p>i tried to put two buttons with the same size in linearlayout. my problem is that the left button isn't at the same height than the right one.</p>
  
  <p>i searched for an answer but i didn't find anything related to my problem.</p>
  
  <p>here a picture of what i get on an android 2.1 device:
  <a href="http://tinypic.com/r/eskb4n/5" rel="nofollow">http://tinypic.com/r/eskb4n/5</a></p>
  
  <p>i used this code:
  `</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_alignParentBottom="true"
      android:id="@+id/linearLayout1"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content" 
      android:gravity="bottom"&gt;
  
      &lt;Button
          android:id="@+id/take_pic_btn"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:text="@string/take_pic" /&gt;
  
      &lt;Button
          android:id="@+id/from_gallery_btn"
          android:text="@string/from_gallery"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          /&gt;
  &lt;/LinearLayout&gt;`
  </code></pre>
  
  <p>thanks for your help!</p>
  
  <p>EDIT: i used 0dp for layout_width instead of fill_parent..</p>