Landscaping and portrait images for phone screensaver BUILD screensavers?

I wondered if it is possible to have 2 separate images in the application to create screenshots for the splash screen? One for potrait and one for landscape.

At the moment, when I open the application, it displays a splash screen and, if I change the orientation, it pixels: - (

I have this in the config.xml file at the moment ...

<gap:splash src="splash/android/ldpi.png" gap:platform="android" gap:density="ldpi" width="320" height="480"/>
<gap:splash src="splash/android/mdpi.png" gap:platform="android" gap:density="mdpi" width="960" height="640"/>
<gap:splash src="splash/android/hdpi.png" gap:platform="android" gap:density="hdpi" width="768" height="1024"/>
<gap:splash src="splash/android/ldpi2.png" gap:platform="android" gap:density="ldpi"/>
<gap:splash src="splash/android/mdpi2.png" gap:platform="android" gap:density="mdpi"/>
<gap:splash src="splash/android/hdpi2.png" gap:platform="android" gap:density="hdpi"/>

Images with 2 at the end are landscape, and those that don't have are portrait ones.

I was told to put the width and height values ​​in portrait ones, and then by default, it will take those that have no values, like landscape. That did not happen.

Any help is greatly appreciated,

Thanks.

+4
1

Android phonegap [v3.3.0]. config.xml. : .

<gap:splash src="res/screen/android/splash/screen-ldpi-portrait.png"  gap:platform="android" gap:density="ldpi" gap:qualifier="port-ldpi" />
<gap:splash src="res/screen/android/splash/screen-mdpi-portrait.png"  gap:platform="android" gap:density="mdpi" gap:qualifier="port-mdpi" />
<gap:splash src="res/screen/android/splash/screen-hdpi-portrait.png"  gap:platform="android" gap:density="hdpi" gap:qualifier="port-hdpi" />
<gap:splash src="res/screen/android/splash/screen-xhdpi-portrait.png" gap:platform="android" gap:density="xhdpi" gap:qualifier="port-xhdpi" />

<gap:splash src="res/screen/android/splash/screen-ldpi-landscape.png"  gap:platform="android" gap:density="ldpi" width="320" height="200"  gap:qualifier="land-ldpi"/>
<gap:splash src="res/screen/android/splash/screen-mdpi-landscape.png"  gap:platform="android" gap:density="mdpi" width="480" height="320"  gap:qualifier="land-mdpi"/>
<gap:splash src="res/screen/android/splash/screen-hdpi-landscape.png"  gap:platform="android" gap:density="hdpi" width="800" height="480"  gap:qualifier="land-hdpi"/>
<gap:splash src="res/screen/android/splash/screen-xhdpi-landscape.png" gap:platform="android" gap:density="xhdpi" width="1280" height="720"  gap:qualifier="land-xhdpi"/>
+2

All Articles