Android Linear Layout steching
<p>I think that's a rather simple Question but I don't get it the way I want it to.
I Want do do a Linear Layout in Android with 3 areas.</p>

<p>The Top area should have a fixed height, fill_parent width.
The second, below the first, should use all the room available, fill_parent width.
The third, below the second, should have fixed height, fill_parent width.</p>

<p>Here is what i got:</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:gravity="bottom"
  android:background="#ff63a920"&gt;
   &lt;LinearLayout
android:id="@+id/top_bar"
android:layout_width="fill_parent"
android:layout_height="32dp"
&gt;
&lt;/LinearLayout&gt;
  &lt;com.google.android.maps.MapView android:id="@+id/mymapView"
        android:layout_width="fill_parent" 
        android:layout_height="fill_parent"
        android:enabled="true"
        android:clickable="true"


        /&gt;
 &lt;LinearLayout
android:id="@+id/bottombar"
android:layout_width="fill_parent"
android:layout_height="32dp"
&gt;
&lt;/LinearLayout&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>The Problem is, that the mapview in the middle ist too big, so it pushes out the topbar.</p>

<p>I Hope you can help me.</p>
