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:

but on the phone it looks like this:

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:

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?
source
share