Search code examples
androidnine-patch

Android 9patch stretch arrow?


http://www.clker.com/clipart-green-right-double-arrows-set.html

I am struggling to apply 9patch to an image like the one above but with no luck yet. Does anyone know how an arrow can be stretched?? or do you guys know a good tutorial on how to use 9patch with irregular shapes?

many thanks


Solution

  • I don't think such images are meant to be "9-patched". It's mainly intended for stretching the sides of rectangles such as buttons. So my only tip is to use different resolutions.