【发布时间】:2014-11-17 19:28:04
【问题描述】:
我知道使用 CTRL+MAC+F11 我可以旋转 de AVD(并且正在旋转),但应用程序没有旋转。我发现很多帖子问“如何锁定旋转”,但我希望它旋转!
我的清单是:
<?xml version='1.0' encoding='utf-8'?>
<manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" android:windowSoftInputMode="adjustPan" package="com.overloadsoft.storydo" xmlns:android="http://schemas.android.com/apk/res/android">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
android:label="@string/app_name"
android:launchMode="singleTop"
android:name="StoryDo"
android:theme="@android:style/Theme.Black.NoTitleBar"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>
我尝试添加
android:screenOrientation="fullSensor"
还有一些变化,但没有用...
添加: 目标是 Android 4.4.2 API 级别 19 “存在硬件键盘”未选中 具有 Dynamics 硬件控制的皮肤 CPU/ABI:Intel atom x86(带 Intel 加速器)
【问题讨论】:
-
是安卓4.4吗? This MIGHT be relevant
-
同样,如果您在“L”开发者预览版模拟器上进行测试,因为它具有相同的模拟器错误。
-
感谢您的回答!我添加了更多信息,它的 4.4.2(但不是 L)
标签: android cordova rotation landscape