title: Android percentage (weight) is not giving expected results
body: <p>I am designing an Android interface and I discovered I can give percentage to the control as <code>Weight</code>.</p>
  
  <p>But when I use the following code : </p>
  
  <pre><code> &lt;LinearLayout
      android:orientation="vertical"
      android:minWidth="25px"
      android:minHeight="25px"
      android:layout_width="match_parent"
      android:layout_height="310.1dp"
      android:layout_weight=".70"
      android:id="@+id/linearLayout1"
      android:background="#C49268"&gt;
      &lt;ImageView
          android:src="@android:drawable/ic_menu_gallery"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:id="@+id/imageView1" /&gt;
  &lt;/LinearLayout&gt;
  &lt;RelativeLayout
      android:minWidth="25px"
      android:minHeight="25px"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_weight=".30"
      android:layout_gravity="bottom"
      android:id="@+id/relativeLayout1"&gt;
  </code></pre>
  
  <p>The first layout is taking 70% of the page : <code>android:layout_weight=".70"</code></p>
  
  <p>The second layout is taking 30% of the page : <code>android:layout_weight=".30"</code> and a bottom gravity. So it should use the whole page. (100%).</p>
  
  <p>What I understand from this is that the RelativeLayout should take 30% of the bottom space and the LinearLayout should take 70% of the top space for a total of 100% of the screen.</p>
  
  <p>When I boot the app, I still see a black bar at the bottom (unused space). Am I doing something wrong ?</p>