I've got an activity which is always configured to be displayed in 
portrait mode (with android:screenOrientation="portrait"). I don't want 
it destroyed when an orientation change happens, so I have 
android:configChanges="orientation" for it.

However, it *does* needs to be aware of orientation changes, so I can 
update the content. Unfortunately it would appear that while I am being 
sent configuration change events, the orientation in the configuration 
claims it's always in portrait mode, presumably because that's what the 
activity is set to.

How can I have my activity be permanently in portrait mode and *also* 
receive the correct orientation change events as the phone is rotated?

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "They laughed at Newton. They laughed at Einstein. Of course, they
│ also laughed at Bozo the Clown." --- Carl Sagan

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

Reply via email to