Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Problem with ANDROID nine patch launch images

Hello,
I have read this posts:
https://getsatisfaction.com/apperyio/...

regarding nine patch images but unfortunately I can't get it to work.

My nine patch images are of the following sizes:
251x97px
251x97px
411x157px
637x242px

Here is the example:

Image

Stretch marks on the images and the sizes should allow for centering the logo on any devices' screen.

I upload my 9 patch files to APP SETTINGS/ ANDROID / BINARY / LAUNCH IMAGES, but after successful upload they do not show up in MEDIA MANAGER so I can not select them as launch images. They also do not show up in SOURCE / ANDROID / RES / DRAWABLE ... I can upload them here but still I do not know how to set them as launch images in APPERY BUILDER.

Can you please help me?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Problem with ANDROID nine patch launch images

Hi Adam,

We will need to test this case, we'll update on this.

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Problem with ANDROID nine patch launch images

OK. My app is called 3MC and is shared with APPERY support.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Problem with ANDROID nine patch launch images

Hello Adam,

[quote:]I upload my 9 patch files to APP SETTINGS/ ANDROID / BINARY / LAUNCH IMAGES, but after successful upload they do not show up in MEDIA MANAGER so I can not select them as launch images. [/quote]
On tab App Settings you can upload only Launch images of predefined sizes and they will be reflected in Media Manager.
[quote:]
They also do not show up in SOURCE / ANDROID / RES / DRAWABLE ... I can upload them here but still I do not know how to set them as launch images in APPERY BUILDER. [/quote]

They are not supposed to be because of incorrect size.

You will need to upload them on Source tab directly, this will hint you http://docs.appery.io/tutorials/sourc....

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Problem with ANDROID nine patch launch images

Will uploading do the job completely ? Should't be the images set as launch images somewhere else in the Appery project?
I have uploaded 9.patch files to source folders and cleared launch images in project settings but now no launch images when I open my app.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Problem with ANDROID nine patch launch images

Hello!

Alll images in all folders should have should have the same names splash.9.png. No need to add anything.

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Problem with ANDROID nine patch launch images

Hello Maryna,
That solved the issue! Thank you very much.
Adam

Return to “Issues”