문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top