Monday, October 3, 2011

[android-developers] Re: Activity gets (re)created when device goes to sleep?

Would a simple android:configChanges="orientation|keyboardHidden" on the activity fix it?

With that on the activity, when the screen rotates it doesn't try to kill and recreate your application, it just simply tries to rotate it.

Steven
Studio LFP
http://www.studio-lfp.com

--
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

No comments:

Post a Comment