title: How to allow an Android ListView to consume remaining space when inside a TableLayout
body: <p>I am attempting to make a ListView inside a table consume all of the available vertical space minus the space needed for an EditText control.</p>
  
  <p>I have set every attribute I can think of here to make it work:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code> &lt;TableRow android:layout_width="fill_parent" 
      android:layout_height="fill_parent"
      android:background="#FF0000"&gt;
      &lt;ScrollView android:layout_width="fill_parent"
          android:layout_height="fill_parent"&gt;
       &lt;ListView android:id="@+id/conversation"
          android:layout_width="fill_parent" 
          android:layout_height="fill_parent"
          android:drawSelectorOnTop="false"/&gt;
      &lt;/ScrollView&gt;
   &lt;/TableRow&gt;
  
   &lt;TableRow android:layout_width="fill_parent" 
      android:layout_height="wrap_content"
      android:background="#00FF00"&gt;
       &lt;EditText android:id="@+id/messagetext" 
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:inputType="text|textAutoCorrect|textMultiLine|textImeMultiLine"
          android:imeOptions="actionDone"/&gt;
   &lt;/TableRow&gt;
  </code></pre>
  
  <p></p>
  
  <p>I must be missing something, as the result is a fully filled horizontal, but both the ListView and EditText appear to be behaving as if their attributes were wrap_content.</p>