vector-drawable-previewer icon indicating copy to clipboard operation
vector-drawable-previewer copied to clipboard

For xml assets: android:fillType isn't supported

Open vivekgupta5 opened this issue 3 years ago • 1 comments

Hi team,

I am noticing the android:fillType isn't supproted

Example, on Android Studio looks correctly but when I preview it with the tool it doesn't.

On Android Studio: On Android Studio

On Google Chome extension: On Google Chome extension

Below is the xml file.

<vector xmlns:android="http://schemas.android.com/apk/res/android"
  android:width="48dp"
  android:height="48dp"
  android:viewportWidth="48"
  android:viewportHeight="48">
  <path
    android:fillType="evenOdd"
    android:pathData="M16,10A7,7 0,1 1,2 9a7,7 0,0 1,14 0zM10.938,6.21a0.65,0.65 0,0 1,0.92 0.919l-1.93,1.929 1.889,1.889a0.65,0.65 0,1 1,-0.92 0.919L9.01,9.777l-1.89,1.99a0.65,0.65 0,0 1,-0.919 -0.92l1.89,-1.89 -1.93,-1.929a0.65,0.65 0,0 1,0.92 -0.919l1.959,1.93 1.929,-1.99z"
    android:fillColor="#121439"/>
</vector>

vivekgupta5 avatar Mar 18 '21 18:03 vivekgupta5

It's noted in https://github.com/jmatsu/vector-drawable-previewer#appendix Contributions are welcome.

jmatsu avatar Jun 30 '21 05:06 jmatsu