-<!-- `edit.xml` comes from the Android Material icon set, where it is called `ic_edit`. It is released under the Apache License 2.0. -->
+<!-- This file comes from the Android Material icon set, where it is called `edit`. It is released under the Apache License 2.0. -->
-<!-- `tools:ignore="VectorRaster"` removes the lint warning about `android:autoMirrored="true" not applying to API < 21. -->
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
android:height="24dp"
android:width="24dp"
- android:viewportHeight="24.0"
- android:viewportWidth="24.0"
- android:autoMirrored="true"
- tools:ignore="VectorRaster" >
+ android:viewportHeight="24"
+ android:viewportWidth="24"
+ android:autoMirrored="true" >
- <!-- We have to use a hard coded color code until API >= 21. Then we can use `@color`. -->
<path
- android:fillColor="#FFFFFFFF"
+ android:fillColor="@color/icon"
android:pathData="M3,17.25V21h3.75L17.81,9.94l-3.75,-3.75L3,17.25zM20.71,7.04c0.39,-0.39 0.39,-1.02 0,-1.41l-2.34,-2.34c-0.39,-0.39 -1.02,-0.39 -1.41,0l-1.83,1.83 3.75,3.75 1.83,-1.83z"/>
</vector>