title: android:layout_weight with vertical linearlayout
body: <p>I'm trying to create a android layout like:</p>
  
  <p>[####EditText###][Button]</p>
  
  <p>[####listview#####]</p>
  
  <p>For that i'm using weight, but the following xml is giving me something very strang like:</p>
  
  <p>[editText][button][ListView]</p>
  
  <p>Someone know why?</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="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical"
      android:background="@drawable/background"
      android:weightSum="10"
       &gt;
  
      &lt;EditText android:id="@+id/nova_lista"
          android:inputType="text"
          android:layout_height="wrap_content"
          android:layout_width="0dp"
          android:layout_weight="9"
          android:hint="@string/new_list_hint"&gt;
  
      &lt;/EditText&gt;
  
      &lt;Button android:id="@+id/nova_lista_botao"
          android:layout_height="wrap_content"
          android:layout_width="0dp"
          android:layout_weight="1"
          android:text="@string/new_list"/&gt;
  
      &lt;ListView
          android:id="@+id/list_of_lists"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content" &gt;
      &lt;/ListView&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>