Anonymous1 Anonymous1 - 8 months ago 34
Android Question

Android - don't refresh Google Maps v2 on rotation

When I rotate my device, Google Maps v2 refreshes. How do I prevent this refresh from occurring? I'm adding the map dynamically in a tab of a SherlockFragment.


I fixed the problem by adding to the Activity in AndroidManifest.xml: