title: Android Layout priority
body: <p>I'm trying to divide a screen into 2 sections. The above section is a map widget. Below is an other layout filled with widgets. The problem is that the map widget fills the whole screen. How can I make the layout below the map push te map up? </p>
  
  <p>I'm guessing it could be solved by giving the map widget a height, but that's not very flexible.</p>
  
  <p>My attemp:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent" 
      android:layout_height="fill_parent"&gt;
  
  
  
      &lt;com.google.android.maps.MapView
          android:id="@+id/mapview"
          android:layout_width="fill_parent" 
          android:layout_height="wrap_content"
          android:clickable="true" 
          android:apiKey="my api key" /&gt;
  
  
  
  
  
      &lt;RelativeLayout
          android:id="@+id/map_menu" 
          android:layout_width="fill_parent" 
          android:layout_height="wrap_content"
          android:layout_below="@id/mapview"
          android:background="@drawable/locatie_background" &gt;
  
  
          &lt;Button android:id="@+id/firstButtonId" android:layout_width="wrap_content" 
              android:layout_height="wrap_content" android:text="@string/action_ready" 
              /&gt;
  
      &lt;/RelativeLayout &gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>