Question

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 file 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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top