title: Android: ListView on top of other elements
body: <p>My layout looks like I want it to... up to the point that I get many items in the list and then the list covers the Edittext and Button elements.</p>
  
  <p>I can't see what I have wrong. And when I set the ListView android:layout_height="fill_parent" it covered my buttons even when the list was empty.</p>
  
  <p>This should be a pretty simple layout. I have spent over an hour messing with it.</p>
  
  <p>Any help?</p>
  
  <p>
  </p>
  
  <pre><code>&lt;LinearLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:orientation="vertical" &gt;
  
      &lt;EditText
          android:id="@+id/txt_editText"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:hint="@string/str_addSnippetHint" /&gt;
  
      &lt;Button
          android:id="@+id/btn_addSnipet"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:text="@string/addSnippet" /&gt;
  &lt;/LinearLayout&gt;
  
  &lt;ListView
      android:id="@android:id/list"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_above="@id/txt_editText"
      android:layout_alignParentTop="true"
      android:drawSelectorOnTop="false" /&gt;
  </code></pre>
  
  <p></p>