[Android] Fix auto icon sizing

Nicolas Pomepuy git at videolan.org
Wed Oct 21 09:02:42 CEST 2020


vlc-android | branch: 3.3.x | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Oct 20 15:51:27 2020 +0200| [c5d9d32f8835bfaafab6d6323e9fc1712e7c5e9b] | committer: Nicolas Pomepuy

Fix auto icon sizing

(cherry picked from commit 52ae8dc893197f9a512a5bb1b3d8b3b9f2841bab)

> https://code.videolan.org/videolan/vlc-android/commit/c5d9d32f8835bfaafab6d6323e9fc1712e7c5e9b
---

 .../src/main/res/drawable/ic_auto_shuffle_pressed.xml  | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/application/resources/src/main/res/drawable/ic_auto_shuffle_pressed.xml b/application/resources/src/main/res/drawable/ic_auto_shuffle_pressed.xml
index c46c8f89b4..9782654202 100644
--- a/application/resources/src/main/res/drawable/ic_auto_shuffle_pressed.xml
+++ b/application/resources/src/main/res/drawable/ic_auto_shuffle_pressed.xml
@@ -1,16 +1,14 @@
 <vector xmlns:android="http://schemas.android.com/apk/res/android"
-        android:width="24dp"
-        android:height="24dp"
+        android:width="48dp"
+        android:height="48dp"
         android:viewportWidth="24"
         android:viewportHeight="24">
     <path
-            android:pathData="m14.4439,6c-0.4541,0.039 -0.623,0.6165 -0.2617,0.8944l0.7557,0.7557 -8.6451,8.6432C6.112,16.4741 6,16.7241 6,17.0002c0,0.5522 0.4476,0.9998 0.9998,0.9998 0.2762,0 0.526,-0.112 0.7069,-0.293l8.6451,-8.643 0.7499,0.7498c0,0 -0.0002,0.01 0.0098,0.01 0.2995,0.3652 0.8915,0.15 0.8866,-0.3222v-3.4994h-3.4994c-0.017,-0.0009 -0.0338,-0.0009 -0.0508,0zM6.9998,6C6.4476,6 6,6.4476 6,6.9999c0.0005,0.2684 0.1089,0.5252 0.3007,0.7128l-0.0098,0.01 2.8726,2.8725 1.4138,-1.4139 -2.7867,-2.7866c-0.1889,-0.2471 -0.4819,-0.392 -0.7928,-0.3924zM14.8189,13.4187 L13.405,14.8325 14.9302,16.3577 14.1862,17.1016c0,0 -0.0098,-0.0002 -0.0098,0.01 -0.3651,0.2995 -0.15,0.8915 0.3222,0.8866h3.4994v-3.4994c0.0009,-0.017 0.0009,-0.034 0,-0.051h0.002c-0.039,-0.4541 -0.6164,-0.623 -0.8944,-0.2617l-0.7616,0.7616z"
-            android:strokeAlpha="1"
-            android:strokeLineJoin="miter"
-            android:strokeWidth="0.99983621"
-            android:fillColor="#000000"
-            android:strokeColor="#00000000"
+            android:fillColor="#88000000"
             android:fillType="evenOdd"
-            android:fillAlpha="1"
-            android:strokeLineCap="butt"/>
+            android:pathData="m15.2586,4c-0.6055,0.051 -0.8307,0.8221 -0.3489,1.1926l1.0076,1.0075 -11.5268,11.5244C4.1493,17.9656 4,18.299 4,18.667c0,0.7362 0.5968,1.333 1.3331,1.333 0.3682,0 0.7014,-0.1494 0.9426,-0.3906l11.5268,-11.524 0.9998,0.9996c0,0 -0.0003,0.014 0.0131,0.014 0.3993,0.487 1.1886,0.2 1.1821,-0.4296v-4.6658h-4.6659c-0.0227,0 -0.045,0 -0.0677,0zM5.3331,4C4.5968,4 4,4.5968 4,5.333c0.0007,0.358 0.1452,0.7004 0.401,0.9504l-0.013,0.014 3.8301,3.8301 1.8851,-1.8853 -3.7155,-3.7154c-0.2518,-0.3295 -0.6425,-0.5227 -1.0571,-0.5232zM15.7585,13.8917 L13.8734,15.7767 15.9069,17.8103 14.9149,18.8022c0,0 -0.0131,-0.0004 -0.0131,0.014 -0.4869,0.3994 -0.2,1.1887 0.4296,1.1822h4.6659v-4.6659c0.0011,-0.023 0.0011,-0.046 0,-0.067L20,15.2656c-0.052,-0.6055 -0.8219,-0.8307 -1.1925,-0.3489l-1.0155,1.0154z"
+            android:strokeWidth="1.33312"
+            android:strokeColor="#00000000"
+            android:strokeLineCap="butt"
+            android:strokeLineJoin="miter" />
 </vector>



More information about the Android mailing list