Begrüßungsbildschirm für Android in PhoneGap Build
Was soll ich eingebenconfig.xml
oder was sollte ich im Allgemeinen tun, um den Begrüßungsbildschirm der PhoneGap Build-Anwendung auf einem Android-Gerät im Querformat korrekt anzuzeigen?
PhoneGap Build (zum Kompilieren verwendet)docs / Blog Habe nichts darüber. Nur Portrait ist für Android abgedeckt.
Da sagt zuerst (docs), dass mitheight
undwidth
wird plattformübergreifend unterstützt, ich habe versucht, es zu verwenden:
<gap:splash src="res/splash-200x320-android.png" gap:platform="android" gap:density="ldpi" width="200" height="320" />
<gap:splash src="res/splash-320x480-android-bada-ios.png" gap:platform="android" gap:density="mdpi" width="320" height="480" />
<gap:splash src="res/splash-480x800-android-bada-wp.png" gap:platform="android" gap:density="hdpi" width="480" height="800" />
<gap:splash src="res/splash-720x1280-android.png" gap:platform="android" gap:density="xhdpi" width="720" height="1280" />
<gap:splash src="res/splash-320x200-android.png" gap:platform="android" gap:density="ldpi" width="320" height="200" />
<gap:splash src="res/splash-480x320-android-bada-ios.png" gap:platform="android" gap:density="mdpi" width="480" height="320" />
<gap:splash src="res/splash-800x480-android-bada-wp.png" gap:platform="android" gap:density="hdpi" width="800" height="480" />
<gap:splash src="res/splash-1280x720-android.png" gap:platform="android" gap:density="xhdpi" width="1280" height="720" />
Aber es gibt keine Auswirkungen - im Querformat auf meinem Android-Gerät wird auf meinem Begrüßungsbildschirm immer eine schlecht ausgedehnte Version des Portait-Modus angezeigt.