[Android] Import auto icons

Nicolas Pomepuy git at videolan.org
Wed Feb 14 10:37:43 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Feb 12 08:11:28 2024 +0100| [819934a629b873cbfdea7e270ac563007e6f9c44] | committer: Nicolas Pomepuy

Import auto icons

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

 .../src/main/res/drawable/ic_auto_home.xml         | 45 +++++-----------------
 .../src/main/res/drawable/ic_auto_stream.xml       | 43 +++++----------------
 2 files changed, 18 insertions(+), 70 deletions(-)

diff --git a/application/resources/src/main/res/drawable/ic_auto_home.xml b/application/resources/src/main/res/drawable/ic_auto_home.xml
index 1b79b52ec8..4fea984400 100644
--- a/application/resources/src/main/res/drawable/ic_auto_home.xml
+++ b/application/resources/src/main/res/drawable/ic_auto_home.xml
@@ -1,38 +1,11 @@
-<!--
-  ~ *************************************************************************
-  ~  ic_auto_home.xml
-  ~ **************************************************************************
-  ~ Copyright © 2020 VLC authors and VideoLAN
-  ~ Author: Nicolas POMEPUY
-  ~ This program is free software; you can redistribute it and/or modify
-  ~ it under the terms of the GNU General Public License as published by
-  ~ the Free Software Foundation; either version 2 of the License, or
-  ~ (at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  ~ GNU General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU General Public License
-  ~ along with this program; if not, write to the Free Software
-  ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
-  ~ ***************************************************************************
-  ~
-  ~
-  -->
-
 <vector xmlns:android="http://schemas.android.com/apk/res/android"
-    android:width="48dp"
-    android:height="48dp"
-    android:viewportWidth="48"
-    android:viewportHeight="48">
-  <path
-      android:pathData="m24,7c-0.3574,0 -0.7038,0.1244 -0.9766,0.3555l-16.4902,14c-1.0657,0.9034 -0.4263,2.6451 0.9707,2.6445h2.4961v14c0,1.1081 0.892,2 2,2h6c1.108,0 2,-0.8919 2,-2V28h8v10c0,1.1081 0.892,2 2,2h6c1.108,0 2,-0.8919 2,-2V24h2.5c1.3956,-0.0008 2.0284,-1.7491 0.9707,-2.6445l-16.5059,-14C24.6952,7.127 24.3534,7.0011 24,7Z"
-      android:strokeLineJoin="round"
-      android:strokeWidth="2.99984193"
-      android:fillColor="#ffffff"
-      android:strokeColor="#00000000"
-      android:fillType="evenOdd"
-      android:strokeLineCap="round"/>
+        android:width="48dp"
+        android:height="48dp"
+        android:viewportWidth="48"
+        android:viewportHeight="48">
+    <path
+            android:fillColor="#ffffff"
+            android:fillType="evenOdd"
+            android:pathData="m24.001,7c-0.464,0 -0.928,0.161 -1.307,0.485L5.663,22.246c-0.695,0.609 -0.267,1.753 0.656,1.754l0,-0h3.682v14c0,1.105 0.895,2 2,2h8c1.105,0 2,-0.896 2,-2v-10h4v10c0,1.105 0.895,2 2,2h8c1.105,0 2,-0.896 2,-2v-14h3.68c0.925,-0.001 1.354,-1.15 0.654,-1.757l-2.023,-1.755 -15.003,-13.002C24.93,7.161 24.466,7 24.001,7ZM24.001,11.647 L34.001,20.314v15.686h-4v-10c0,-1.105 -0.895,-2 -2,-2h-8c-1.105,0 -2,0.895 -2,2v10h-4L14.001,20.314Z"
+            android:strokeLineCap="round" />
 </vector>
diff --git a/application/resources/src/main/res/drawable/ic_auto_stream.xml b/application/resources/src/main/res/drawable/ic_auto_stream.xml
index e9882c1e77..aa569c88c9 100644
--- a/application/resources/src/main/res/drawable/ic_auto_stream.xml
+++ b/application/resources/src/main/res/drawable/ic_auto_stream.xml
@@ -1,36 +1,11 @@
-<!--
-  ~ *************************************************************************
-  ~  ic_auto_stream.xml
-  ~ **************************************************************************
-  ~ Copyright © 2021 VLC authors and VideoLAN
-  ~ Author: Nicolas POMEPUY
-  ~ This program is free software; you can redistribute it and/or modify
-  ~ it under the terms of the GNU General Public License as published by
-  ~ the Free Software Foundation; either version 2 of the License, or
-  ~ (at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  ~ GNU General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU General Public License
-  ~ along with this program; if not, write to the Free Software
-  ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
-  ~ ***************************************************************************
-  ~
-  ~
-  -->
-
 <vector xmlns:android="http://schemas.android.com/apk/res/android"
-    android:width="24dp"
-    android:height="24dp"
-    android:viewportWidth="24"
-    android:viewportHeight="24">
-  <path
-      android:pathData="m12,3c-4.9706,0 -9,4.0294 -9,9l2,0c0,-3.866 3.134,-7 7,-7 3.866,0 7,3.134 7,7l2,0c0,-4.9706 -4.0294,-9 -9,-9zM11.5,7c-2.5213,0.2561 -4.5,2.4112 -4.5,5l2,0c0,-1.6568 1.3431,-3 3,-3 1.6568,0 3,1.3432 3,3l2,0c0,-2.7614 -2.2386,-5 -5,-5 -0.1726,0 -0.3319,-0.017 -0.5,0zM12,11c-0.3866,0 -0.6839,0.2375 -0.8438,0.5625l-3.0313,7.9375 -1.625,0 0,1.5C10,20.9871 14,20.9871 17.5,21l0,-1.5 -1.625,0 -3.0313,-7.9375c-0.1599,-0.325 -0.4571,-0.5625 -0.8438,-0.5625z"
-      android:strokeWidth="1"
-      android:fillColor="#ffffff"
-      android:strokeColor="#00000000"
-      android:fillType="nonZero"/>
+        android:width="48dp"
+        android:height="48dp"
+        android:viewportWidth="48"
+        android:viewportHeight="48">
+    <path
+            android:fillColor="#ffffff"
+            android:pathData="M9.973,10.889A2,2 0,0 0,8.32 11.646C5.537,15.161 4.016,19.509 4,23.992A2,2 0,0 0,4 24.008C4.016,28.491 5.537,32.839 8.32,36.354A2,2 0,0 0,11.131 36.68A2,2 0,0 0,11.457 33.869C9.232,31.059 8.016,27.584 8.002,24C8.016,20.416 9.232,16.941 11.457,14.131A2,2 0,0 0,11.131 11.32A2,2 0,0 0,9.973 10.889zM38.027,10.889A2,2 0,0 0,36.869 11.32A2,2 0,0 0,36.543 14.131C38.768,16.941 39.984,20.416 39.998,24C39.984,27.584 38.768,31.059 36.543,33.869A2,2 0,0 0,36.869 36.68A2,2 0,0 0,39.68 36.354C42.463,32.839 43.984,28.491 44,24.008A2,2 0,0 0,44 24.006A2,2 0,0 0,44 24.004A2,2 0,0 0,44 24.002A2,2 0,0 0,44 24A2,2 0,0 0,44 23.998A2,2 0,0 0,44 23.996A2,2 0,0 0,44 23.994A2,2 0,0 0,44 23.992C43.984,19.509 42.463,15.161 39.68,11.646A2,2 0,0 0,38.027 10.889zM15.555,16.59A2,2 0,0 0,15.166 16.635A2,2 0,0 0,13.908 17.508C12.663,19.444 12,21.698 12,24C12,26.302 12.663,28.556 13.908,30.492A2,2 0,0 0,16.672 31.092A2,2 0,0 0,17.271 28.328C16.441,27.037 16,25.535 16,24C16,22.465 16.441
 ,20.963 17.271,19.672A2,2 0,0 0,16.672 16.908A2,2 0,0 0,15.555 16.59zM32.613,16.6A2,2 0,0 0,31.328 16.908A2,2 0,0 0,30.729 19.672C31.559,20.963 32,22.465 32,24C32,25.535 31.559,27.037 30.729,28.328A2,2 0,0 0,31.328 31.092A2,2 0,0 0,34.092 30.492C35.337,28.556 36,26.302 36,24C36,21.698 35.337,19.444 34.092,17.508A2,2 0,0 0,32.613 16.6zM22.047,19.002A1,1 0,0 0,21.527 19.119A1,1 0,0 0,21 20L21,28A1,1 0,0 0,22.555 28.832L28.555,24.832A1,1 0,0 0,28.555 23.168L22.555,19.168A1,1 0,0 0,22.047 19.002z"
+            android:strokeLineCap="round"
+            android:strokeLineJoin="round" />
 </vector>



More information about the Android mailing list