13

I know android studio doesn't support all elements in SVG.

So far I know that:

<defs>
<stop>
<use> 
<linearGradient>

are not supported yet.

Here is reference to svg element https://developer.mozilla.org/en-US/docs/Web/SVG/Element

Maher Abuthraa
  • 16,698
  • 10
  • 75
  • 102
  • 1
    yes can not to support full svg feature in android i find the solution : try to convert your SVG exported to vector with this tool : https://shapeshifter.design/ if it's resolved your problem tell me to make it as a answer – java acm Feb 12 '18 at 19:53

1 Answers1

8

The source code for the converter is here: SVG2Vector.java

From that you can see that, as of now, the following elements are supported (to some extent at least):

<polygon>, <rect>, <circle>, <line>, <path>, <g>

Paul LeBeau
  • 91,047
  • 8
  • 141
  • 167