Last active
August 29, 2015 14:14
-
-
Save AlexHedley/a128ce976d9d2f0dee92 to your computer and use it in GitHub Desktop.
Stop Reload of Page when Orientation changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<activity | |
android:name=".YourActivityName" | |
android:configChanges="orientation|screenSize" > | |
</activity> | |
//http://stackoverflow.com/questions/5913130/dont-reload-application-when-orientation-changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<activity | |
android:screenOrientation="portrait" > | |
</activity> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment