I need to display a vector drawable which is present in drawable folder in a WebView. This is for a native android app.
If I use the code:
<img src="file:///android_res/drawable/example.png"/>
It works for png/jpeg images, but is there any way to display vector drawable (with .xml extension) inside a WebView?
Any help would be appreciated. Thanks in advance