proportional row size with 1 fixed row
<p>In Android, I'm trying to basically create a table with 2 rows, where 1 row is say 10 pixels, and the other takes the rest of the screen. In silverlight, this is equivalent of a table with 2 rows, one on "Auto" and the other set to "*".</p>

<p>Is there any way to do this? I have been playing with the layout weight, but this is always a percentage, and I would like 1 row to be fixed size (wrap_content basically).</p>

<p>Any ideas?</p>

<p>edit:
I tried what was suggested, but it'snot working.. So I want the first row to take up the entire space, except what row 2 took up. Row 2 consists of 2 buttons side by side, Row 1 is just a ListView. Here is what I have:
</p>

<pre><code>&lt;LinearLayout android:orientation="horizontal"
    android:layout_width="fill_parent" android:layout_height="fill_parent"
    android:layout_weight="1" android:background="#FF0000"&gt;

    &lt;ListView android:id="@+id/edit_group_listView"
        android:layout_width="fill_parent" android:layout_height="fill_parent" /&gt;

&lt;/LinearLayout&gt;

&lt;LinearLayout android:orientation="horizontal"
    android:layout_width="fill_parent" android:layout_height="fill_parent"
    android:layout_weight="0" android:background="#FFFF00"&gt;

    &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="horizontal" android:layout_width="fill_parent"
        android:layout_height="50dip" android:stretchColumns="2"&gt;
        &lt;TableRow&gt;
            &lt;Button android:text="@string/button_save" android:id="@+id/edit_group_save"
                android:layout_width="150dip" android:layout_height="50dip"
                android:enabled="false" android:layout_column="1"&gt;&lt;/Button&gt;

            &lt;Button android:text="@string/button_cancel" android:id="@+id/edit_group_cancel"
                android:layout_width="150dip" android:layout_height="50dip"
                android:layout_column="3"&gt;&lt;/Button&gt;
        &lt;/TableRow&gt;
    &lt;/TableLayout&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p></p>

<p>When I view this all I see is the yellow linearlayout (the buttons), no listview at all. The listview has 50 items, and I can confirm it's visible by taking it out of this setup.</p>
