freezy/android-xbmcremote — Issue #14: Forcing portrait orientation when device is "upside=down"
Author: joekrill
Created: 2011-11-18 13:51:45+00:00
State: open

On my Sony Tablet S, what the device thinks is "right side up" is the exact opposite of what *I* think is right side up. Consequently, using this setting for an activity:

android:screenOrientation="portrait"

causes the activity to appear upside-down to me. But simply changing the manifest to use:

android:screenOrientation="sensorPortrait"

instead will fix the problem. It will still force the activity in portrait mode, but allows the device to be used "upside-down" as well.