On Aug 19, 2:59 am, Dianne Hackborn <[email protected]> wrote: > And is the status bar actually changing orientation when this happens? My > guess would be that they force the screen into one orientation, and just > rotate their window's drawing based on the current sensor data they receive.
The Bubble app hides the status bar, but I'm sure you're correct that it's staying in portrait mode and handling its own orientation changes internally. If you force landscape mode before starting it (for example, by opening the G1's keyboard), the screen does the usual orientation-change blur when Bubble starts, indicating that it's switching back to landscape. If you want to lock to portrait mode like this in your own app, add android:screenOrientation="portrait" to your activity tag in your manifest. String --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

