Hello,
i'd like to set a background image to a button, but it doesn't work.
I tried this code:
Appery('mobilebutton_103').css('background-image','url('+Appery.getImagePath('reload_neu.png')+')');
Second question:
Is it possible to set a backgroundimage with CSS as well?
Thank you!
Hello!
I finally got it.
I used a 9 patch generator that didn't work.
Now i generated the 9 Patch images with the tool from the Android SDK and now it works.
Thank you!
Hello!
I use a Samsung Galaxy S4 mobile phone.
Hello Evgene,
i didi like you said, but the image is still streched....
Hi Maryna,
i uploaded an image vor the ldpi -resolution and deleted all the others.
This one has the right size: 426 x 320
But it is still streched....
Yes, i do!
It's calles smartCoach.
of course i renamed the files in splash.9.png.
The source files have the names milogo_XXXX.9.png.
in the moment the launch images appear overlayed?!???
Do i have to load the launge images in the project-tab-android binary as well?
in the moment i did not....
Hi,
i read this thread before, but i cat get it work... ((
I uploaded the images in the source section, but they are still streched...
Hi Illya,
i shared my app with you.
The App Name is "smartCoach".
The image files are in my mediamanager. They are named
"milogo_XXXX.9.png" . XXXX is for the resolution.