钛的Android屏幕方向 [英] Titanium Android Screen Orientation
本文介绍了钛的Android屏幕方向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经使用钛的Android应用程序。屏幕当设备旋转旋转,我怎么能停在Android应用程序窗口/屏幕的方向?
I have made an Android app using Titanium. The screen rotates when device rotate, how can i stop window/screen orientation in Android app?
推荐答案
使用的android:screenOrientation在
><活动方式>
元素
Use android:screenOrientation="portrait"
in the Android Manifest file in the <activity>
element.
看到这个:活动
这篇关于钛的Android屏幕方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文