Page 1 of 1

Problem with ANDROID nine patch launch images

Posted: Sun Mar 23, 2014 12:43 pm
by Adam Garbinski

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?


Problem with ANDROID nine patch launch images

Posted: Sun Mar 23, 2014 12:53 pm
by Illya Stepanov

Hi Adam,

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


Problem with ANDROID nine patch launch images

Posted: Sun Mar 23, 2014 12:54 pm
by Adam Garbinski

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


Problem with ANDROID nine patch launch images

Posted: Sun Mar 23, 2014 3:30 pm
by Alena Prykhodko

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....


Problem with ANDROID nine patch launch images

Posted: Sun Mar 23, 2014 7:50 pm
by Adam Garbinski

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.


Problem with ANDROID nine patch launch images

Posted: Mon Mar 24, 2014 1:21 pm
by Maryna Brodina

Hello!

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


Problem with ANDROID nine patch launch images

Posted: Wed Mar 26, 2014 11:02 am
by Adam Garbinski

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