]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/drawable/dom_storage_enabled.xml
Fix a crash when uploading files to some sites. https://redmine.stoutner.com/issues/556
[PrivacyBrowserAndroid.git] / app / src / main / res / drawable / dom_storage_enabled.xml
index bc71681d2d44b36ebb162e5b1321d539946347cc..bc59cd95eada8a75acb154d090350038111acbd8 100644 (file)
@@ -1,15 +1,17 @@
-<!-- dom_storage_enabled.xml comes from the Android Material icon set, where it is called ic_web.
-  It is released under the CC-BY license <https://creativecommons.org/licenses/by/4.0/>. -->
+<!-- This file comes from the Android Material icon set, where it is called `web`.  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="26dp"
     android:width="26dp"
     android:viewportHeight="24.0"
     android:viewportWidth="24.0"
-    android:autoMirrored="true" >
+    android:autoMirrored="true"
+    tools:ignore="VectorRaster" >
 
-    <!-- We have to use a hard coded color code until API >= 21.  Then we can use`@color`. -->
+    <!-- The hard coded color must be used until API >= 21.  Then `@color` may be used. -->
     <path
         android:fillColor="#FFF57F17"
         android:pathData="M20,4L4,4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,6c0,-1.1 -0.9,-2 -2,-2zM15,18L4,18v-4h11v4zM15,13L4,13L4,9h11v4zM20,18h-4L16,9h4v9z"/>