[Android] Onboarding: import new icons and wording

Nicolas Pomepuy git at videolan.org
Fri Jun 17 11:48:27 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Jun 17 06:56:01 2022 +0200| [0cb1740a0b6b71e2be2e0e374241ab6de159ed41] | committer: Duncan McNamara

Onboarding: import new icons and wording

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

 application/resources/src/main/res/drawable/ic_perm_all.xml | 11 ++++++-----
 .../resources/src/main/res/drawable/ic_perm_media.xml       | 11 ++++++-----
 .../resources/src/main/res/drawable/ic_perm_none.xml        | 13 +++++++------
 application/resources/src/main/res/values/strings.xml       |  4 ++--
 4 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/application/resources/src/main/res/drawable/ic_perm_all.xml b/application/resources/src/main/res/drawable/ic_perm_all.xml
index b34554040..71b7c1870 100644
--- a/application/resources/src/main/res/drawable/ic_perm_all.xml
+++ b/application/resources/src/main/res/drawable/ic_perm_all.xml
@@ -1,9 +1,10 @@
 <vector xmlns:android="http://schemas.android.com/apk/res/android"
-    android:width="32dp"
-    android:height="32dp"
-    android:viewportWidth="24"
-    android:viewportHeight="24">
+    android:width="84dp"
+    android:height="128dp"
+    android:viewportWidth="84"
+    android:viewportHeight="128">
   <path
-      android:pathData="M20,6h-8l-2,-2L4,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,8c0,-1.1 -0.9,-2 -2,-2zM20,18L4,18L4,8h16v10z"
+      android:pathData="m42,24c-1.83,0 -3.47,0.58 -6.47,1.58l-0.02,0.01 -0.01,0.01c0,0 -14,5 -22.02,8.01C10.46,34.73 8.5,37.88 8.5,41.01v16c0,27.59 16.39,45.32 33.22,48.47L42,105.53 42.28,105.48C59.11,102.32 75.5,84.59 75.5,57L75.5,41c0,-3.13 -1.96,-6.27 -4.97,-7.4C66.5,32.09 54.52,27.72 48.5,25.59h-0.01l-0.01,-0.01C45.47,24.58 43.83,24 42,24ZM42,27c1.17,0 2.53,0.42 5.53,1.42 5.99,2.12 17.98,6.49 21.95,7.98C70.96,36.96 72.5,39.32 72.5,41L72.5,57C72.5,83.25 57.08,99.45 42,102.44 26.92,99.45 11.5,83.25 11.5,57L11.5,41c0,-1.68 1.54,-4.04 3.03,-4.6 7.96,-2.99 21.91,-7.97 21.95,-7.98C39.47,27.42 40.83,27 42,27ZM31.07,40c-0.42,0 -0.77,0.15 -1.06,0.44 -0.29,0.29 -0.44,0.65 -0.44,1.06v9.75C29.29,51.02 28.96,50.83 28.59,50.7 28.21,50.57 27.79,50.5 27.32,50.5c-1.05,0 -1.94,0.36 -2.66,1.09 -0.73,0.73 -1.09,1.61 -1.09,2.66 0,1.05 0.36,1.94 1.09,2.66 0.73,0.73 1.61,1.09 2.66,1.09 1.05,0 1.94,-0.36 2.66,-1.09 0.73,-0.73 1.09,-1.61 1.09,-2.66L31.07,43.38L33.75,43.38c0.47,0 0.86,-0.17 1.19,-0.5 0.3
 2,-0.33 0.49,-0.73 0.49,-1.2 0,-0.47 -0.16,-0.86 -0.49,-1.19C34.61,40.16 34.22,40 33.75,40ZM45,41c-0.4,0 -0.75,0.15 -1.05,0.45C43.65,41.75 43.5,42.1 43.5,42.5v13c0,0.4 0.15,0.75 0.45,1.05C44.25,56.85 44.6,57 45,57h17c0.4,0 0.75,-0.15 1.05,-0.45C63.35,56.25 63.5,55.9 63.5,55.5v-13c0,-0.4 -0.15,-0.75 -0.45,-1.05C62.75,41.15 62.4,41 62,41h-2.8l1.85,3.8h-3.25L55.95,41h-2.22l1.85,3.8h-3.25L50.47,41L48.25,41l1.85,3.8h-3.25zM45,46.3L62,46.3L62,55.5L45,55.5ZM29.5,63c-1.37,0 -2.66,0.26 -3.88,0.79 -1.22,0.52 -2.28,1.24 -3.19,2.15 -0.91,0.91 -1.63,1.97 -2.15,3.19C19.76,70.34 19.5,71.63 19.5,73c0,1.37 0.26,2.66 0.79,3.88 0.52,1.22 1.24,2.28 2.15,3.19 0.91,0.91 1.97,1.63 3.19,2.15C26.84,82.74 28.13,83 29.5,83c1.37,0 2.66,-0.26 3.88,-0.79 1.22,-0.52 2.28,-1.24 3.19,-2.15 0.91,-0.91 1.63,-1.97 2.15,-3.19C39.24,75.66 39.5,74.37 39.5,73 39.5,71.63 39.24,70.34 38.71,69.13 38.19,67.91 37.47,66.85 36.56,65.94 35.65,65.03 34.59,64.31 33.38,63.79 32.16,63.26 30.87,63 29.5,63ZM47,63c-0.4,0 -0.75,0.15 -1.0
 5,0.45C45.65,63.75 45.5,64.1 45.5,64.5v17c0,0.4 0.15,0.75 0.45,1.05C46.25,82.85 46.6,83 47,83h13c0.4,0 0.75,-0.15 1.05,-0.45C61.35,82.25 61.5,81.9 61.5,81.5L61.5,69.1c0,-0.2 -0.04,-0.39 -0.11,-0.57 -0.08,-0.18 -0.19,-0.35 -0.34,-0.5l-4.58,-4.58c-0.15,-0.15 -0.32,-0.26 -0.5,-0.34C55.79,63.04 55.6,63 55.4,63ZM29.5,64.5c2.33,0 4.33,0.83 6,2.5 1.67,1.67 2.5,3.67 2.5,6 0,2.33 -0.83,4.33 -2.5,6 -1.67,1.67 -3.67,2.5 -6,2.5 -2.33,0 -4.33,-0.83 -6,-2.5 -1.67,-1.67 -2.5,-3.67 -2.5,-6 0,-2.33 0.83,-4.33 2.5,-6 1.67,-1.67 3.67,-2.5 6,-2.5zM47,64.5h8.28v3.9c0,0.22 0.07,0.4 0.21,0.54 0.14,0.14 0.32,0.21 0.54,0.21L60,69.15L60,81.5L47,81.5L47,69.15ZM29.5,68.75c-1.15,0 -2.12,0.42 -2.91,1.25 -0.79,0.83 -1.19,1.83 -1.19,3 0,1.15 0.4,2.12 1.19,2.91 0.79,0.79 1.76,1.19 2.91,1.19 1.17,0 2.17,-0.4 3,-1.19C33.33,75.12 33.75,74.15 33.75,73 33.75,71.82 33.34,70.81 32.51,69.99 31.69,69.16 30.68,68.75 29.5,68.75ZM29.5,72c0.28,0 0.52,0.1 0.71,0.29C30.4,72.48 30.5,72.72 30.5,73c0,0.28 -0.1,0.52 -0.29,0.71C30.02,
 73.9 29.78,74 29.5,74 29.22,74 28.98,73.9 28.79,73.71 28.6,73.52 28.5,73.28 28.5,73c0,-0.28 0.1,-0.52 0.29,-0.71C28.98,72.1 29.22,72 29.5,72Z"
+      android:strokeWidth="1"
       android:fillColor="@color/white"/>
 </vector>
diff --git a/application/resources/src/main/res/drawable/ic_perm_media.xml b/application/resources/src/main/res/drawable/ic_perm_media.xml
index 0b7943435..61b813061 100644
--- a/application/resources/src/main/res/drawable/ic_perm_media.xml
+++ b/application/resources/src/main/res/drawable/ic_perm_media.xml
@@ -1,9 +1,10 @@
 <vector xmlns:android="http://schemas.android.com/apk/res/android"
-    android:width="32dp"
-    android:height="32dp"
-    android:viewportWidth="24"
-    android:viewportHeight="24">
+    android:width="84dp"
+    android:height="128dp"
+    android:viewportWidth="84"
+    android:viewportHeight="128">
   <path
-      android:pathData="M2,6L0,6v5h0.01L0,20c0,1.1 0.9,2 2,2h18v-2L2,20L2,6zM7,15h14l-3.5,-4.5 -2.5,3.01L11.5,9zM22,4h-8l-2,-2L6,2c-1.1,0 -1.99,0.9 -1.99,2L4,16c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L24,6c0,-1.1 -0.9,-2 -2,-2zM22,16L6,16L6,4h5.17l1.41,1.41 0.59,0.59L22,6v10z"
+      android:pathData="m42,24c-1.83,0 -3.47,0.58 -6.47,1.58l-0.02,0.01 -0.01,0.01c0,0 -14,5 -22.02,8.01C10.46,34.73 8.5,37.88 8.5,41.01v16c0,27.59 16.39,45.32 33.22,48.47l0.28,0.05 0.28,-0.05C59.11,102.32 75.5,84.59 75.5,57L75.5,41c0,-3.13 -1.96,-6.27 -4.97,-7.4C66.5,32.09 54.52,27.72 48.5,25.59h-0.01l-0.01,-0.01C45.47,24.58 43.83,24 42,24ZM42,27c1.17,0 2.53,0.42 5.53,1.42 5.99,2.12 17.98,6.49 21.95,7.98C70.96,36.96 72.5,39.32 72.5,41L72.5,57C72.5,83.25 57.08,99.45 42,102.44 26.92,99.45 11.5,83.25 11.5,57L11.5,41c0,-1.68 1.54,-4.04 3.03,-4.6 7.96,-2.99 21.91,-7.97 21.95,-7.98C39.47,27.42 40.83,27 42,27ZM31.07,50c-0.42,0 -0.77,0.15 -1.06,0.44 -0.29,0.29 -0.44,0.65 -0.44,1.06v9.75c-0.28,-0.23 -0.61,-0.42 -0.99,-0.55 -0.38,-0.13 -0.8,-0.2 -1.26,-0.2 -1.05,0 -1.94,0.36 -2.66,1.09 -0.73,0.73 -1.09,1.61 -1.09,2.66 0,1.05 0.36,1.94 1.09,2.66 0.73,0.73 1.61,1.09 2.66,1.09 1.05,0 1.94,-0.36 2.66,-1.09 0.73,-0.73 1.09,-1.61 1.09,-2.66v-10.88L33.75,53.38c0.47,0 0.86,-0.17 1.19,-0.5 0.32,-0.33
  0.49,-0.73 0.49,-1.2 0,-0.47 -0.16,-0.86 -0.49,-1.19 -0.32,-0.32 -0.72,-0.49 -1.19,-0.49zM45,51c-0.4,0 -0.75,0.15 -1.05,0.45 -0.3,0.3 -0.45,0.65 -0.45,1.05v13c0,0.4 0.15,0.75 0.45,1.05 0.3,0.3 0.65,0.45 1.05,0.45h17c0.4,0 0.75,-0.15 1.05,-0.45 0.3,-0.3 0.45,-0.65 0.45,-1.05v-13c0,-0.4 -0.15,-0.75 -0.45,-1.05 -0.3,-0.3 -0.65,-0.45 -1.05,-0.45h-2.8l1.85,3.8h-3.25l-1.85,-3.8h-2.22l1.85,3.8h-3.25L50.47,51L48.25,51l1.85,3.8h-3.25zM45,56.3h17v9.2L45,65.5Z"
+      android:strokeWidth="1"
       android:fillColor="@color/white"/>
 </vector>
diff --git a/application/resources/src/main/res/drawable/ic_perm_none.xml b/application/resources/src/main/res/drawable/ic_perm_none.xml
index 08b52831d..e9fa6f499 100644
--- a/application/resources/src/main/res/drawable/ic_perm_none.xml
+++ b/application/resources/src/main/res/drawable/ic_perm_none.xml
@@ -1,9 +1,10 @@
 <vector xmlns:android="http://schemas.android.com/apk/res/android"
-    android:width="32dp"
-    android:height="32dp"
-    android:viewportWidth="24"
-    android:viewportHeight="24">
+    android:width="84dp"
+    android:height="128dp"
+    android:viewportWidth="84"
+    android:viewportHeight="128">
   <path
-      android:pathData="M2.81,2.81L1.39,4.22l2.27,2.27C2.61,8.07 2,9.96 2,12c0,5.52 4.48,10 10,10c2.04,0 3.93,-0.61 5.51,-1.66l2.27,2.27l1.41,-1.41L2.81,2.81zM12,20c-4.41,0 -8,-3.59 -8,-8c0,-1.48 0.41,-2.86 1.12,-4.06l10.94,10.94C14.86,19.59 13.48,20 12,20zM7.94,5.12L6.49,3.66C8.07,2.61 9.96,2 12,2c5.52,0 10,4.48 10,10c0,2.04 -0.61,3.93 -1.66,5.51l-1.46,-1.46C19.59,14.86 20,13.48 20,12c0,-4.41 -3.59,-8 -8,-8C10.52,4 9.14,4.41 7.94,5.12z"
-      android:fillColor="@color/white"/>
+      android:pathData="m42,24c-1.83,0 -3.47,0.58 -6.47,1.58l-0.02,0.01 -0.01,0.01c0,0 -3.11,1.12 -5.99,2.15 0,0 -10.52,3.77 -18.58,6.74l2.36,2.33 23.18,-8.39c3,-1 4.36,-1.42 5.53,-1.42 1.17,0 2.53,0.42 5.53,1.42 5.99,2.12 17.98,6.49 21.95,7.98 1.49,0.56 3.03,2.92 3.03,4.6v16c0,12.24 -3.36,22.3 -8.47,29.85l2.17,2.14c5.63,-8.14 9.29,-18.96 9.29,-32v-16c0,-3.13 -1.96,-6.27 -4.97,-7.4 -4.03,-1.51 -16.01,-5.88 -22.03,-8.01h-0.01l-0.01,-0.01C45.47,24.58 43.83,24 42,24ZM1.98,30.5c-0.39,0 -0.77,0.16 -1.05,0.45 -0.58,0.59 -0.57,1.54 0.02,2.12l7.55,7.45v0.3,0.18 16.01c0,27.59 16.39,45.32 33.22,48.47l0.28,0.05 0.28,-0.05c7.23,-1.36 14.36,-5.42 20.16,-11.77l10.51,10.36c0.59,0.58 1.54,0.58 2.12,-0.02 0.58,-0.59 0.57,-1.54 -0.02,-2.12l-72,-71C2.86,30.75 2.63,30.62 2.38,30.55 2.25,30.52 2.11,30.5 1.98,30.5ZM11.5,43.47 L60.29,91.59c-5.34,5.87 -11.85,9.57 -18.29,10.85 -15.08,-2.99 -30.5,-19.2 -30.5,-45.44z"
+      android:fillColor="@color/white"
+      android:fillType="evenOdd"/>
 </vector>
diff --git a/application/resources/src/main/res/values/strings.xml b/application/resources/src/main/res/values/strings.xml
index 9a1149074..ed118fc3f 100644
--- a/application/resources/src/main/res/values/strings.xml
+++ b/application/resources/src/main/res/values/strings.xml
@@ -560,8 +560,8 @@
     <string name="permission_expanation_no_allow">You won\'t be able to auto-discover your media nor use external subtitles</string>
     <string name="permission_expanation_allow">You will be able to only play streams or network media</string>
     <string name="permission_onboarding_no_perm">You won\'t be able to auto-discover your media.\nYou will be able to only play streams or network media</string>
-    <string name="permission_onboarding_perm_media">You will only be able to auto-discover files that are considered as media by Android</string>
-    <string name="permission_onboarding_perm_all">You will be able to auto-discover all your files</string>
+    <string name="permission_onboarding_perm_media">You will only be able to auto-discover standard media files</string>
+    <string name="permission_onboarding_perm_all">You will be able to auto-discover all your files to play all types of media even weird ones, or compressed files</string>
     <string name="exit_app">Close VLC</string>
     <string name="exit_app_msg">Are you sure you want to quit VLC?</string>
 



More information about the Android mailing list