-<!-- exit.xml comes from the Android Material icon set, where it is called ic_exit_to_app.
- It is released under the CC-BY license <https://creativecommons.org/licenses/by/4.0/>. -->
+<!-- `exit.xml` comes from the Android Material icon set, where it is called `ic_exit_to_app`. 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:viewportWidth="24.0"
+ android:autoMirrored="true"
+ tools:ignore="VectorRaster" >
+ <!-- We have to use a hard coded color code until API >= 21. Then we can use `@color`. -->
<path
android:fillColor="#FF000000"
android:pathData="M10.09,15.59L11.5,17l5,-5 -5,-5 -1.41,1.41L12.67,11H3v2h9.67l-2.58,2.59zM19,3H5c-1.11,0 -2,0.9 -2,2v4h2V5h14v14H5v-4H3v4c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2z" />