[android-developers] onConfigurationChanged not being invoked
I have an activity with onConfigurationChanged in it. I also have the
manifest set up like this:
<activity android:name=".MySplashActivity"
android:configChanges="orientation|keyboardHidden"
android:label="@string/app_name">
<intent-filter>
I thought that when the phone was rotated so that the landscape layout
kicks in, that onConfigurationChanged would get called but it does
not!
I do see in the log though this:
11-03 21:38:59.788: INFO/ActivityManager(2259): Config changed:
{ scale=1.0 imsi=310/410 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=2
layout=34}
I am certain that onConfigurationChanged is not getting called (have
log statements and the debugger set...just never happens).
So what am I doing wrong?
Thanks!
--
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