[Android] Use the new source code icon

Nicolas Pomepuy git at videolan.org
Tue Jan 18 12:23:24 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Nov 16 15:45:50 2021 +0100| [beba882f0b35a3a63cfe0d77b288aba142495495] | committer: Nicolas Pomepuy

Use the new source code icon

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

 .../src/main/res/drawable/ic_sourcecode.xml        | 36 ++++++++++++++++++++++
 application/vlc-android/res/layout/about.xml       |  2 +-
 2 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/application/resources/src/main/res/drawable/ic_sourcecode.xml b/application/resources/src/main/res/drawable/ic_sourcecode.xml
new file mode 100644
index 000000000..da000060b
--- /dev/null
+++ b/application/resources/src/main/res/drawable/ic_sourcecode.xml
@@ -0,0 +1,36 @@
+<!--
+  ~ *************************************************************************
+  ~  ic_sourcecode.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"
+        xmlns:tools="http://schemas.android.com/tools"
+        android:width="24dp"
+        android:height="24dp"
+        android:viewportWidth="48"
+        android:viewportHeight="48">
+    <path
+            tools:fillColor="#FFFFFF"
+            android:fillColor="?attr/font_default"
+            android:pathData="M24.9316,8.0001 L19,40.0001h4.0684L29,8.0001ZM14,14.0001l-10,10 10,10 2.8008,-2.8008 -7.2012,-7.1992 7.2012,-7.1992zM34,14.0001 L31.1992,16.8009 38.4004,24.0001 31.1992,31.1993 34,34.0001 44,24.0001z"
+            android:strokeWidth="2" />
+</vector>
diff --git a/application/vlc-android/res/layout/about.xml b/application/vlc-android/res/layout/about.xml
index 1b6bf7eea..4c4d4e158 100644
--- a/application/vlc-android/res/layout/about.xml
+++ b/application/vlc-android/res/layout/about.xml
@@ -281,7 +281,7 @@
                         android:layout_marginStart="16dp"
                         android:layout_marginTop="16dp"
                         android:layout_marginBottom="16dp"
-                        app:srcCompat="@drawable/ic_sources" />
+                        app:srcCompat="@drawable/ic_sourcecode" />
 
                 <TextView
                         android:id="@+id/sources_text"



More information about the Android mailing list