[Android] Use dedicated auto unknown icons
Nicolas Pomepuy
git at videolan.org
Fri Nov 13 07:31:03 CET 2020
vlc-android | branch: 3.3.x | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Oct 28 14:02:29 2020 +0100| [694ec59a4ca19b6919ca0aab2e88b0689d6c7aca] | committer: Nicolas Pomepuy
Use dedicated auto unknown icons
(cherry picked from commit 8bee412d4765bac2a77338e69d141e8917e0a9e4)
> https://code.videolan.org/videolan/vlc-android/commit/694ec59a4ca19b6919ca0aab2e88b0689d6c7aca
---
.../main/res/drawable/ic_auto_album_unknown.xml | 37 ++++++++++++++++++++
.../main/res/drawable/ic_auto_artist_unknown.xml | 40 ++++++++++++++++++++++
.../main/res/drawable/ic_auto_playlist_unknown.xml | 38 ++++++++++++++++++++
.../main/res/drawable/ic_auto_stream_unknown.xml | 37 ++++++++++++++++++++
4 files changed, 152 insertions(+)
diff --git a/application/resources/src/main/res/drawable/ic_auto_album_unknown.xml b/application/resources/src/main/res/drawable/ic_auto_album_unknown.xml
new file mode 100644
index 000000000..13b801b3d
--- /dev/null
+++ b/application/resources/src/main/res/drawable/ic_auto_album_unknown.xml
@@ -0,0 +1,37 @@
+<!--
+ ~ *************************************************************************
+ ~ ic_album_big.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 android:height="90dp"
+ android:viewportHeight="48"
+ android:viewportWidth="48"
+ android:width="90dp"
+ xmlns:android="http://schemas.android.com/apk/res/android">
+ <path
+ android:fillAlpha="1"
+ android:fillColor="#88ffffff"
+ android:fillType="nonZero"
+ android:pathData="m24,6c-9.9411,0 -18,8.0589 -18,18 0,9.9411 8.0589,18 18,18 9.9411,0 18,-8.0589 18,-18 0,-9.9411 -8.0589,-18 -18,-18zM24,17c3.866,0 7,3.134 7,7 0,3.866 -3.134,7 -7,7 -3.866,0 -7,-3.134 -7,-7 0,-3.866 3.134,-7 7,-7zM24,22c-1.1046,0 -2,0.8954 -2,2 0,1.1046 0.8954,2 2,2 1.1046,0 2,-0.8954 2,-2 0,-1.1046 -0.8954,-2 -2,-2z"
+ android:strokeColor="#00000000"
+ android:strokeWidth="0.08999999" />
+</vector>
diff --git a/application/resources/src/main/res/drawable/ic_auto_artist_unknown.xml b/application/resources/src/main/res/drawable/ic_auto_artist_unknown.xml
new file mode 100644
index 000000000..79a2f0681
--- /dev/null
+++ b/application/resources/src/main/res/drawable/ic_auto_artist_unknown.xml
@@ -0,0 +1,40 @@
+<!--
+ ~ *************************************************************************
+ ~ ic_artist_big.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="90dp"
+ android:height="90dp"
+ android:viewportWidth="48"
+ android:viewportHeight="48">
+ <path
+ android:pathData="M29,6C24.0294,6 20,10.0295 20,15C20,19.9705 24.0294,24 29,24C33.9706,24 38,19.9705 38,15C38,10.0295 33.9706,6 29,6zM10,13.5A3.5,3.5 0,0 0,6.5 17L6.5,24A3.5,3.5 0,0 0,10 27.5A3.5,3.5 0,0 0,13.5 24L13.5,17A3.5,3.5 0,0 0,10 13.5zM2,24A8,8 0,0 0,9 31.9277L9,42L11,42L11,31.9297A8,8 0,0 0,18 24L16,24A6,6 0,0 1,10 30A6,6 0,0 1,4 24L2,24zM29,29C21,29 14,32 14,37.5L14,42L44,42L44,37.5C44,31 37,29 29,29z"
+ android:strokeAlpha="1"
+ android:strokeLineJoin="round"
+ android:strokeWidth="3.98622036"
+ android:fillColor="#88ffffff"
+ android:strokeColor="#00000000"
+ android:fillType="nonZero"
+ android:fillAlpha="1"
+ android:strokeLineCap="round" />
+</vector>
diff --git a/application/resources/src/main/res/drawable/ic_auto_playlist_unknown.xml b/application/resources/src/main/res/drawable/ic_auto_playlist_unknown.xml
new file mode 100644
index 000000000..aa5632a90
--- /dev/null
+++ b/application/resources/src/main/res/drawable/ic_auto_playlist_unknown.xml
@@ -0,0 +1,38 @@
+<!--
+ ~ *************************************************************************
+ ~ ic_auto_playlist.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="m36,11.998c-1.108,0 -2,0.892 -2,2v14.3536a6,6 0,0 0,-2 -0.3516,6 6,0 0,0 -6,6 6,6 0,0 0,6 6,6 6,0 0,0 6,-6v-16.998h4c1.108,0 2,-0.892 2,-2v-3zM6,11.998v4h24v-4zM6,19.998v4h24v-4zM6,27.998v4h16v-4z"
+ android:strokeLineJoin="round"
+ android:strokeWidth="3"
+ android:fillColor="#88ffffff"
+ android:strokeColor="#00000000"
+ android:fillType="nonZero"
+ android:strokeLineCap="round"/>
+</vector>
diff --git a/application/resources/src/main/res/drawable/ic_auto_stream_unknown.xml b/application/resources/src/main/res/drawable/ic_auto_stream_unknown.xml
new file mode 100644
index 000000000..127cda96e
--- /dev/null
+++ b/application/resources/src/main/res/drawable/ic_auto_stream_unknown.xml
@@ -0,0 +1,37 @@
+<!--
+ ~ *************************************************************************
+ ~ ic_menu_stream.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 android:height="48dp"
+ android:viewportHeight="24"
+ android:viewportWidth="24"
+ android:width="48dp"
+ xmlns:android="http://schemas.android.com/apk/res/android">
+ <path
+ android:fillAlpha="1"
+ android:fillColor="#88ffffff"
+ android:fillType="nonZero"
+ 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:strokeColor="#00000000"
+ android:strokeWidth="1" />
+</vector>
More information about the Android
mailing list