user1626183
user1626183

Reputation:

Issue with 9 patch generator

I am trying to generate 9 patch images using http://android-ui-utils.googlecode.com/hg/asset-studio/dist/nine-patches.html

The source image has transparent background , but the images generated by the tool are having unexpected borders . I am not getting why is this happening . Please help me.

enter image description here

Upvotes: 0

Views: 1240

Answers (1)

Paresh Mayani
Paresh Mayani

Reputation: 128428

The source image has transparent background , but the images generated by the tool are having unexpected borders.

=> First give me answer for this: "Do you really know what is 9-patch image and what is the purpose of creating image using 9-patch tool?"

If you really don't know then read and learn 9-patch tool.

Still FYI, those lines define the stretchable patches and (optional) content area. and lines will not get displayed when you run and test app in device or emulator.

Upvotes: 2

Related Questions