Return to Snippet

Revision: 42439
at March 5, 2011 04:35 by BenClayton


Initial Code
android:configChanges="orientation|keyboardHidden"

e.g. 

<activity android:name=".FooActivity"
 android:configChanges="orientation|keyboardHidden"
		>
</activity>

Initial URL

                                

Initial Description
Add this to the AndroidManifest.xml definition of your activity

Initial Title
Android: Prevent onCreate being called when the orientation of the screen changes

Initial Tags

                                

Initial Language
Java