While fooling around with some custom buttons I made, to save time I
manipulated the color of the entire 9-patch image, not just inside the
1-pixel border. Every time this corrupts the 9-patch functionality of
the button.

What is the tolerance of the color and alpha pixels of that 9-patch
border? Does Android look for an exact match to, say, #FF000000?

I noticed in these cases that when opening the corrupt file, the 9-
patch tool briefly flashes the (bad) border pixels, then they change
to transparent. It also doesn't add a 1-pixel border to the image as
it does for .PNG files that have not yet been converted to 9-patch.
This seems to be odd behavior.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to