Well, heh, when I first started writing this app I couldn't get the
G1 to NOT rotate my activities on keyboard out. Finally, I added
android:screenOrientation="portrait" to the activities in the
manifest and that kept everything fixed.
Now I have an activity I WANT to rotate when the keyboard comes out,
so I removed the "screenOrientation" attribute entirely on that
activity, figuring I'd be reverting back to the wild-and-wooly
auto-rotate behavior. However, even though the activity is destroyed
and re-created when the keyboard comes out, the screen is still drawn
in portrait mode. "adb" sez on kbd out:
12-31 10:33:15.278 I/WindowManager( 56): Input configuration
changed: { scale=1.0 imsi=0/0 locale=en_US touch=3 key=2/1 nav=3
orien=1 }
The only way I can get a landscape view is to force it with
"screenOrientation:landscape" on that activity (but then it is
rotated even before the keyboard comes out).
What am I missing here? (I only have one set of resources in the
res/layout directory, figure I shouldn't need two unless I want to
customize...)
Thanks all.
-- Ward
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---