Update Privacy Mode icons and convert toasts to snackbars.
[PrivacyBrowser.git] / app / src / main / res / drawable / privacy_mode.xml
index 30bf392805a0c124521b6d35e662e4416d6abaa2..0a5744e5ee34e1872515183cadfe71f26cc43e41 100644 (file)
@@ -1,16 +1,11 @@
 <!--
-  privacy_mode.xml is part of the Android Material icon set, where it is named ic_visibility_off.
-  It is released under the CC-BY license <https://creativecommons.org/licenses/by/4.0/>.
-  Changes to fill color and size were made by Soren Stoutner in 2016. -->
+  privacy_mode.xml is derived from ic_security, which is part of the Android Material icon set.
+  It is released under the CC-BY license <https://creativecommons.org/licenses/by/4.0/>.  Modifications were made by Soren Stoutner <soren@stoutner.com> in 2016. -->
 
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
-        android:width="26dp"
-        android:height="26dp"
-        android:viewportWidth="26.0"
-        android:viewportHeight="26.0">
-
-    <!-- The fillColor must be hardcoded in this file until the minimum API is >= 22.  Then the resources in colors.xml may be used instead. -->
-    <path
-        android:fillColor="#FF64DD17"
-        android:pathData="M12,7c2.76,0 5,2.24 5,5 0,0.65 -0.13,1.26 -0.36,1.83l2.92,2.92c1.51,-1.26 2.7,-2.89 3.43,-4.75 -1.73,-4.39 -6,-7.5 -11,-7.5 -1.4,0 -2.74,0.25 -3.98,0.7l2.16,2.16C10.74,7.13 11.35,7 12,7zM2,4.27l2.28,2.28 0.46,0.46C3.08,8.3 1.78,10.02 1,12c1.73,4.39 6,7.5 11,7.5 1.55,0 3.03,-0.3 4.38,-0.84l0.42,0.42L19.73,22 21,20.73 3.27,3 2,4.27zM7.53,9.8l1.55,1.55c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.66 1.34,3 3,3 0.22,0 0.44,-0.03 0.65,-0.08l1.55,1.55c-0.67,0.33 -1.41,0.53 -2.2,0.53 -2.76,0 -5,-2.24 -5,-5 0,-0.79 0.2,-1.53 0.53,-2.2zm4.31,-0.78l3.15,3.15 0.02,-0.16c0,-1.66 -1.34,-3 -3,-3l-0.17,0.01z"/>
+<vector android:height="26dp" android:viewportHeight="256.0"
+    android:viewportWidth="256.0" android:width="26dp" xmlns:android="http://schemas.android.com/apk/res/android">
+    <path android:fillAlpha="1" android:fillColor="#0d4781"
+        android:pathData="m128,12.8 l-94.25,41.89 0,62.84c0,58.12 40.22,112.48 94.25,125.67 54.04,-13.2 94.25,-67.55 94.25,-125.67l0,-62.84z" android:strokeColor="#00000000"/>
+    <path android:fillAlpha="1" android:fillColor="#1976d2"
+        android:pathData="m128,0 l-104.73,46.55 0,69.82C23.27,180.95 67.96,241.34 128,256 188.04,241.34 232.73,180.95 232.73,116.36l0,-69.82L128,0ZM128,127.88 L209.45,127.88C203.29,175.83 171.29,218.53 128,231.91l0,-103.91 -81.45,0 0,-66.33L128,25.48l0,102.4z" android:strokeColor="#00000000"/>
 </vector>