0

This image is SVG image which is loaded into SVGImageView. I can't fill color into SVG with onTouch listener. I am tired to fill color into particular shape or area. Help me. Thank you.

https://i.stack.imgur.com/96TM5.png

And fill area with different color like this :

https://i.stack.imgur.com/t9zXG.jpg

Paul LeBeau
  • 97,474
  • 9
  • 154
  • 181

1 Answers1

0

AFAIK at the moment none of the SVG libraries for Android support interaction. I am the author of AndroidSVG and it is a high priority on my list of things to implement.

If you need it now, however, I think you will need to resort to displaying the SVG in a WebView and using Javascript events to determine what is clicked on.

Paul LeBeau
  • 97,474
  • 9
  • 154
  • 181