I\'m trying to show a MapFragment
of the Android Maps v2 API
in an Activity
with the @android:style/Theme.DeviceDefault.Light.Di
I got the same problem. After some research, I found two hacks :
- false
Bad part : it removes the black overlays behind the activity.
GoogleMapOptions googleMapsOptions = new GoogleMapOptions();
googleMapsOptions.zOrderOnTop( true );
MapFragment mapFragment = MapFragment.newInstance(googleMapsOptions);
Bad part : The map is above the Zoom control and MyLocation button.
Personnaly, I choose the first solution.
Hope this help !
Link to the source