0
我的配置不能強制啓動屏幕出現fororoid,也許有人會建議什麼可能是錯誤的TI?Phonegap:啓動畫面不顯示在android
在我的config.xml中我已經在Android folling配置了閃屏:
<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>
我試圖從配置去除width
和height
,試圖與剛剛qualifier
或density
更換gap:qualifier
,但它沒」爲我工作。
如果我只是把一個勁兒文件:
<platform name="android">
<splash src="res/splash/android/splash.9.png" />
然後飛濺所示。
你是否試圖給你的飛濺添加延遲? ('SplashScreenDelay')? – Djiggy