android - 9 patch not working well -


i have created simple 9 patch android edittext background. works expected when preview graphical layout in eclipse.

the problem when install app on device, said edittext horribly scaled, indistinguishable.

what problem?

it has garbage (pixels not black) on 9-patch area (1 pixel border) , hence doesn't understand 9-patch.

save image draw9patch tool , clean project before building it!


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

How to mention the localhost in android -

php - Calling a template part from a post -