Jags in .9.png buttons in Android!

I am developing an Android application. I have a custom button with .9.png as the background, it fits perfectly in the user interface tool in Eclipse shown here:

button in eclipse

but on the phone it looks like this:

button on a real device

As you can see, this is very pixelated (not sure if I am using the correct word) and this is my file with 9 patches:

my 9-patch

I know that I can replace this simple button with Shape XML drawable, but does anyone know what might cause this problem and how to solve it?

+3
source share
1 answer

res/drawable-nodpi/ , , res/drawable/, , , , . @MisterSquonk, , Android, .

+3

All Articles