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 has made a typo, use sensorPortait
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With