title: A android xml layout problem with google map
body: <p>I want to build a layout like this:</p>
  
  <p><img src="https://i.stack.imgur.com/mx4UB.jpg" alt="enter image description here"></p>
  
  <p>My XML code:</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:id="@+id/base"&gt;
  &lt;com.google.android.maps.MapView
      android:id = "@+id/mapView"
      android:layout_width="match_parent" 
      android:layout_height="match_parent"
      android:enabled="true"
      android:clickable="true"
      android:apiKey="0HD__0DaIgzDb8nHjJsuggkHlW1MofMwg-xVCpA"
      /&gt;
      &lt;EditText
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"&gt;
          &lt;/EditText&gt;
  &lt;LinearLayout android:id="@+id/linearLayout1" 
      android:gravity="bottom"
      android:layout_width="fill_parent"
      android:orientation="horizontal" 
      android:layout_height="wrap_content"
      android:layout_weight="1"&gt;
      &lt;Button android:text="Cancel" 
      android:layout_height="wrap_content" 
      android:layout_width="wrap_content"
      android:layout_weight="1" &gt;&lt;/Button&gt;
      &lt;Button android:text="Confirm" 
      android:layout_height="wrap_content" 
      android:layout_width="wrap_content"
      android:layout_weight="1"  &gt;&lt;/Button&gt;
    &lt;/LinearLayout&gt; 
   &lt;/LinearLayout&gt;`
  </code></pre>
  
  <p>But the result come out the total google map is put on top of every thing.<br>
  How can I fix this?</p>