On Fri, Jun 8, 2012 at 1:49 AM, Farmer <duanxiao...@gmail.com> wrote: > Hi there, > > On ICS, when I flip the phone between landscape and reverse landscape, > it seems onConfigurationChanged() won't be called. How can I get > notified when such event happens, or did I miss anything here? > >
For ICS you need to add 'screenSize' and 'smallestScreenSize' to your manifest. So you'd have something like this: android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" The better way would be, of course, not to use configChanges at all, if possible. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en