小编Rob*_*30'的帖子

android:screenOrientation ="sensorPortrait"无效?

我需要限制我的应用程序以纵向模式显示.

使用android:screenOrientation ="Portrait"效果很好,但我希望在旋转设备时将显示更改为反转纵向.

使用android:screenOrientation ="sensorPortrait"会导致编译错误.有趣的是,如果我使用"sensorLandscape"而不是它编译得很好,但它不是我需要的.

我正在使用Eclipse v 3.7.2和Android 2.3.3

有任何想法吗???

谢谢Rob

eclipse android android-orientation

9
推荐指数
1
解决办法
4731
查看次数

标签 统计

android ×1

android-orientation ×1

eclipse ×1