title: MapFragment extremely slow and barely responding
body: <p>I am currently developing an android app using Xamarin.Android. In this app, I use a DrawerLayout (from the Support library v4) to show my app content and a menu that I can open by pressing a button in the toolbar or by sliding to the right. </p>
  
  <p>In the first part of the drawer (page content), i have a toolbar replacing the classic action bar, a search bar, and my MapFragment. </p>
  
  <p>In the menu part, I have a scrollview containing a linearlayout, itself containing some elements like buttons, textviews, etc, that the user will use to connect or register. </p>
  
  <p>The menu is sliding smoothly, every element is responding correctly, but the mapfragment is really in trouble showing the map. For a few seconds, it displays an empty grid, and I have to tap the fragment so a few parts of the map can load. Almost no controls are responding, sometimes a double tap will work after a lot of waiting, and it will take forever to load more precise tiles. </p>
  
  <p>There is obviously something preventing my map from loading correctly, but I have no idea what it is. </p>
  
  <p>Here is the map fragment : </p>
  
  <pre><code>&lt;fragment xmlns:android="http://schemas.android.com/apk/res/android"
              android:id="@+id/mapFragment"
              android:layout_marginTop="94dp"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              class="com.google.android.gms.maps.MapFragment" /&gt;
  </code></pre>
  
  <p>And here is how I load my map in the activity file (in the OnCreate function) : </p>
  
  <pre><code>MapFragment mapFrag = (MapFragment)FragmentManager.FindFragmentById(Resource.Id.mapFragment);
  GoogleMap map = mapFrag.Map;
  if(map != null)
  {
      // The GoogleMap object is ready to go (well, should be)
  }
  </code></pre>
  
  <p>I followed this to create my map fragment : <a href="https://developer.xamarin.com/guides/android/platform_features/maps_and_location/maps/part_2_-_maps_api/" rel="nofollow">https://developer.xamarin.com/guides/android/platform_features/maps_and_location/maps/part_2_-_maps_api/</a></p>
  
  <p>I can provide more information if needed. I have strictly no idea where this comes from. I used the exact same code in a test app (except it was in a simple linear layout, no drawer, and also, no margin) and it's working perfectly, this is why I'm confused.</p>
  
  <p>Edit : let the emulator and my phone run the app while I was writing (took me at least five minutes) and it's still not responding properly. Tested on Genymotion emulator (API 16) and on my OnePlus One (API 21), same result. </p>
  
  <p>Thanks in advance.</p>