Search code examples
androidnine-patch

Draw 9Patch image without changing actual design


I have *.png image. Using this image , I am creating 9 patch image. In *.png image , there are 45 degree lines.When I Stretch this image, 9 patch Image showing horizontal lines . I want 45 degree lines in 9 patch image. Can u please suggest the way for creating right 9 patch image ?


Solution

  • 9-patch is not really the right tool for diagonal lines. Maybe you should consider using a tiled background instead?