Sunday, August 19, 2012

[android-developers] Inconsistent behavior on orientation changes between API versions

Hi,

I have an activity with a quite complex view hierarchy that I'm
attempting to avoid being recreated each time the orientation changes
(locking the orientation is NOT an option). I added the usual

android:configChanges="keyboard|keyboardHidden|orientation"

attributes and implemented onConfigurationChanged in the activity.
Everything goes smoothly if I declare the API compatibility as

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" />

If I change it to


--
"The flames are all long gone, but the pain lingers on"

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