9 patch isn't working on device
I'm trying to make a 9 patch image to be a header of my application but it
doesn't work.
This is the image:
As you can already imagine, I want only the middle (blank) part to be
streched and nothing else. It works normally in eclipse screen preview but
it stretches it as if it wasn't 9 patch when i run it on my device.
I've had problems like this before so I'm clearly doing something wrong
with 9 patches, I looked up a lot of info and tutorials on 9 patches and I
just don't seem to get it. Could someone give me a good explanation where
exactly to put the black dots for it to work and why?
No comments:
Post a Comment