I am facing one problem in my application, when i checked settings –> Display –> Auto-rotate screen and run my application in which all activities will display in landscape mode, so when i launch one acivity from other activity and rotate the device in vertical form and comes back to the previous activity upon click on button, in buton click event i am finish the activity which will bring previous activity on top,but it looses all its previuos configured data but when i unchecked device’s Auto-rotate screen option it keeps the previous state of activity.
so not sure , why this behavior occurs?
Please help me to resolve it.
Regards,
Piks
Set
android:configChanges="orientation|screenSize"to all your activities in AndroidManifest.xml to override the orientation change manually