Sunday, August 15, 2010

[android-developers] On screen orientation changes activity restarted.

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate