Monday, February 4, 2013

Don't reload activity when orientation changes in an Android

Changes in an AndroidManifest.xml file
Set configChanges="----------" property in <activity> tag.

Example:
android:configChanges="orientation|screenSize"

If we use this property then do not reload activity after changing the orientation (Portrait/Landscape).

No comments:

Post a Comment