I need to limit my app to displaying in portrait mode.
Using android:screenOrientation=“Portrait" works great but I'd like to have the display change to reverse portrait when the device is rotated.
Using android:screenOrientation="sensorPortrait" results in a compile error. Funny thing though, if I use "sensorLandscape" instead it compiles fine but it's not what I need.
I'm using Eclipse v 3.7.2 with Android 2.3.3
Any ideas???
Thanks Rob
Google犯了一个错字,使用sensorPortait
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.