PhoneGap / Corova 9-patch Screensaver for pictures with the logo of the center?

I use PhoneGap / Cordova to create an Android app with a screensaver containing a centered logo.

Here is what I did:

In my Android Manifest.xml, I added

<preference name="SplashScreen" value="splash" />
<preference name="SplashScreenDelay" value="5000" />

Then I used a nine-track image generator here to create 9-patch images for the screensaver. The goal is to constantly place the logo in the center. When loading an image, it looks as follows. I saved the editing mode "stretch sections".

enter image description here

The problem is that the splash of the image is stretched all the time. This means that the logo (blue box) is disproportionate.

I checked the solutions here Screensaver with the plugin Corona / PhoneGap 9-patch , but this did not help.

9-- Android, ?

+4
2

, - - , . , . , . , , . .

0

All Articles