title: MapFragment in ScrollView
body: <p>I have one of the new <a href="https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/MapFragment" rel="noreferrer"><code>MapFragment</code></a>s in a <code>ScrollView</code>. Actually it's a <code>SupportMapFragment</code>, but anyway. It works, but there are two problems:</p>
  
  <ol>
  <li><p>When scrolled, it leaves a black mask behind. The black covers exactly the area where the map was, except for a hole where the +/- zoom buttons were. See screenshot below. This is on Android 4.0.</p></li>
  <li><p>The view doesn't use <code>requestDisallowInterceptTouchEvent()</code> when the user interacts with the map to prevent the <code>ScrollView</code> intercepting touches, so if you try to pan vertically in the map, it just scrolls the containing <code>ScrollView</code>. I could theoretically derive a view class <code>MapView</code> and add that functionality, but how can I get <code>MapFragment</code> to use my customised <code>MapView</code> instead of the standard one?</p></li>
  </ol>
  
  <p><img src="https://i.stack.imgur.com/WAXc0.png" alt="Partial screenshot of scrolling issue"></p>