The emulator is flipping the lid open when you do that, so the keyboard state also changes.
On Tue, Dec 15, 2009 at 10:17 PM, rukiman <[email protected]> wrote: > I wrote a simple test app which specifies > android:configChanges="orientation" & also > android:screenOrientation="portrait" > > and in my activity I logged whenever onDestroy() and > onConfigurationChanged() gets called. > > Now according to the docs, I was expecting onConfigurationChanged() to > get called whenever I press CTRL-F11 to change the emulator > orientation. However this is not the case instead onDestroy() gets > called. Why is this so? > > When pressing CTRL-F11 I can see my activity is in portrait mode > regardless of orientation as I expected. But why is it still getting > destroyed? > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

