开发者

Android need help with nine-patch tool to stretch image horizontally

Can someone explain to me how to prepare a PNG image as a nine-patch for Android? I don't believe that the Android link (http://developer.android.com/guide/developing/tools/draw9patch.html) is helpful enough. Here is my image that I want to stretch horizontally:

Android need help with nine-patch tool to stretch image horizontally

When I add the image to the nine-patch tool, there is really no option for me to draw any black lines. So then I added blank pixels around the image, and added black lines, which generated the following nine-patch:

Android need help with nine-patch tool to stretch image horizontally

If somebody could explain to me, or perhaps show me how to prep开发者_如何学Care my PNG to stretch horizontally, I'd really appreciate it...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜