2017-06-21 24 views
0

私の設定では、スプラッシュ画面がororoidで表示されるよう強制できません。誰かがtiに間違っていることをアドバイスしますか?Phonegap:スプラッシュ画面はアンドロイドには表示されません

私はAndroid上でスプラッシュ画面用の設定をfollingしている私のconfig.xmlに

<platform name="android"> 
    <splash gap:qualifier="port-ldpi" height="320" src="res/splash/android/port-ldpi.9.png" width="200" /> 
     <splash gap:qualifier="land-ldpi" height="200" src="res/splash/android/land-ldpi.9.png" width="320" /> 
     <splash gap:qualifier="port-mdpi" height="480" src="res/splash/android/port-mdpi.9.png" width="320" /> 
     <splash gap:qualifier="land-mdpi" height="320" src="res/splash/android/land-mdpi.9.png" width="480" /> 
     <splash gap:qualifier="port-hdpi" height="800" src="res/splash/android/port-hdpi.9.png" width="480" /> 
     <splash gap:qualifier="land-hdpi" height="480" src="res/splash/android/land-hdpi.9.png" width="800" /> 
     <splash gap:qualifier="port-xhdpi" height="1280" src="res/splash/android/port-xhdpi.9.png" width="720" /> 
     <splash gap:qualifier="land-xhdpi" height="720" src="res/splash/android/land-xhdpi.9.png" width="1280" /> 
     <splash gap:qualifier="port-xxhdpi" height="1600" src="res/splash/android/port-xxhdpi.9.png" width="960" /> 
     <splash gap:qualifier="land-xxhdpi" height="960" src="res/splash/android/land-xxhdpi.9.png" width="1600" /> 
     <splash gap:qualifier="port-xxxhdpi" height="1920" src="res/splash/android/port-xxxhdpi.9.png" width="1280" /> 
     <splash gap:qualifier="land-xxxhdpi" height="1280" src="res/splash/android/land-xxxhdpi.9.png" width="1920" /> 
    ... 
    </platform> 

「私はちょうどqualifierまたはdensitygap:qualifierを交換しようとした、設定からwidthheightを削除しようとしたが、それはdidnの私のために働く。

私はちょうどACシングルファイル入れない場合:

<platform name="android"> 
    <splash src="res/splash/android/splash.9.png" /> 

をその後、スプラッシュが示されています。

+0

スプラッシュに遅延を追加しようとしましたか? ( 'SplashScreenDelay')? – Djiggy

答えて

0

解決済み:デフォルトで<splash src="res/splash/android/splash.9.png" />がリストにある必要があります。また、そこにはwidthまたはheightという属性があるはずです。

関連する問題