Android ninepatch image error in eclipse 3.5.2
I'm using Eclipse 3.5.2 on win7 with latest sdk update. Every time i create ninepatch image and copy it into drawable folders, the project becomes error, seems that the fi开发者_开发百科le cause error and not supported. I use photoshop to create PNG-24 image then edit it using draw9patch tool.
Here is my draw9patch screenshoot : http://londatiga.net/draw9.jpg.
Thanx in advance.
You didn't specify stretch regions on the top and left borders of the image (no black markers there), android compiler can't process the image, that's why you get the errors. Try adding a black region on top and left sides.
精彩评论