you should remove keyboardHidden . Result: android:configChanges="orientation"
On Aug 16, 12:12 pm, "pramod.deore" <[email protected]> wrote: > Hi everybody, I know on screen orientation changes activity restarted, > but suppose i don't want to restart the activity then what should I > do? I had tried it by adding in manifest.xml. > android:configChanges="keyboardHidden|orientation" > > and override public void onConfigurationChanged(Configuration > newConfig) { > super.onConfigurationChanged(newConfig); > } > > But still activity restarted each time when I change screen > orientation. How to resolve this issue? > > Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

