开发者

reversePortait vs. reversePortrait orientation

开发者 https://www.devze.com 2023-03-27 08:37 出处:网络
I wanted to set android:screenOrientation to \"reversePortrait\" in manifest as described here http:开发者_如何转开发//developer.android.com/guide/topics/manifest/activity-element.html#screen

I wanted to set android:screenOrientation to "reversePortrait" in manifest as described here

http:开发者_如何转开发//developer.android.com/guide/topics/manifest/activity-element.html#screen

but according to eclipse this is not correct. So I used auto code completion and it inserted reversePortait - notice missing "r". I was able to build and run the application and it worked fine. Is this some kind of bug or is my SDK messed up?

I didn't find anything about this anywhere. Did anybody encounter this as well?

Thank you.

Edit: SDK version 11 (Android 3.0), device Acer Iconia Tab A500 with Android 3.1


What is your device's os version?? GingerBread 2.3.3?? if so it should work else it wont work as documentation clearly mention it

Edit

android:screenOrientation=["unspecified"| "reversePortrait"]

Try this it may work.

0

精彩评论

暂无评论...
验证码 换一张
取 消