title: MapView in a Dialog
body: <p>I have a <strong>DialogFragment</strong> shown as a dialog using <code>dialogFragment.show(this);</code></p>
  
  <p>The content view of this fragment is a <code>ScrollView</code> with a <code>MapView</code> at the bottom. <code>onInterceptTouchEvent</code>is taken care for the <code>ScrollView</code> because of the presence of a <code>MapView</code>. And it works fine when used as a normal fragment. But as a dialog, this is what happens while scrolling.</p>
  
  <p><img src="https://i.stack.imgur.com/FfcgP.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/FkRLS.png" alt="enter image description here"></p>
  
  <p>The <code>MapView</code> goes out of the <code>Dialog</code>.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>This didn't work:</p>
  
  <pre><code>&lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="160dp"
      android:layout_below="@id/view_text" &gt;
  
      &lt;com.google.android.gms.maps.MapView
          android:id="@+id/view_map"
          android:layout_width="match_parent"
          android:layout_height="160dp"
          map:uiRotateGestures="true"
          map:uiScrollGestures="true"
          map:uiTiltGestures="false"
          map:uiZoomControls="false"
          map:uiZoomGestures="true" /&gt;
  
      &lt;View
          android:layout_width="match_parent"
          android:layout_height="160dp" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>