我的应用程序在Titanium中完成。我正在努力解决这个问题,即当我通过保持设备处于横向模式来启动应用程序时。然后在加载Splash屏幕时首先在横向模式下,当应用程序终于启动整体UI得到了通过定向change.I扭曲添加下面的一行代码TiApp.xml方向变化扭曲了Android设备中的视图
<application android:screenOrientation="portrait" android:configChanges="keyboardHidden"/>
即使它rotating.I要停止闪屏的方向变化whils启动,请任何想法。 感谢
尝试改变这种'机器人:configChanges = “方向| keyboardHidden”'。并将它们(screenOrientation&configChanges)移动到您的活动中,并建议使用'nick'。 – Shaiful 2012-08-06 11:03:39
insted of screenOrientation in application,write it in the activity you want to be in portrait mode。并请让我知道是否有任何问题发生.. – 2012-08-06 11:05:33