我正在創建一個android遊戲,其中每個活動都設置爲在xml清單文件中的橫向中。在切換到風景之前,活動在肖像中閃爍起來
但是,有時在進行新的活動時,它會在修正風景之前以肖像閃爍一秒。
有沒有人有任何通用的原因,爲什麼這可能是?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.appsolutely.sheepherder"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.appsolutely.sheepherder.Main"
android:label="@string/app_name"
android:screenOrientation="landscape" >
</activity>
<activity
android:name="com.appsolutely.sheepherder.Game"
android:label="@string/title_activity_game"
android:screenOrientation="landscape" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.appsolutely.sheepherder.LevelSelect" />
</activity>
<activity
android:name="com.appsolutely.sheepherder.LevelSelect"
android:label="@string/title_activity_level_select"
android:screenOrientation="landscape" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.appsolutely.sheepherder.Main" />
</activity>
<activity
android:name="com.appsolutely.sheepherder.Splash"
android:label="@string/app_name"
android:screenOrientation="landscape" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.appsolutely.sheepherder.Plague"
android:label="@string/title_activity_plague"
android:screenOrientation="landscape" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.appsolutely.sheepherder.Main" />
</activity>
</application>
你可以發佈你的清單,所以我們可以看看? –
感謝您的回覆,我已將我的清單文件發佈在 –