[Android] Fix video card more icon tinting

Nicolas Pomepuy git at videolan.org
Thu Apr 16 15:43:36 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Apr  8 06:35:19 2020 +0200| [66677865f44e8772be950264074c4adc1040833a] | committer: Nicolas Pomepuy

Fix video card more icon tinting

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

 .../resources/src/main/res/drawable/ic_more_w.xml  | 34 ++++++++++++++++++++++
 .../vlc-android/res/layout/video_grid_card.xml     |  2 +-
 2 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/application/resources/src/main/res/drawable/ic_more_w.xml b/application/resources/src/main/res/drawable/ic_more_w.xml
new file mode 100644
index 000000000..58d88e0bd
--- /dev/null
+++ b/application/resources/src/main/res/drawable/ic_more_w.xml
@@ -0,0 +1,34 @@
+<!--
+  ~ *************************************************************************
+  ~  ic_more_w.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="32dp"
+        android:height="32dp"
+        android:viewportWidth="32"
+        android:viewportHeight="32">
+    <path
+            android:pathData="m16,12c1.1,0 2,-0.9 2,-2 0,-1.1 -0.9,-2 -2,-2 -1.1,0 -2,0.9 -2,2 0,1.1 0.9,2 2,2zM16,14c-1.1,0 -2,0.9 -2,2 0,1.1 0.9,2 2,2 1.1,0 2,-0.9 2,-2 0,-1.1 -0.9,-2 -2,-2zM16,20c-1.1,0 -2,0.9 -2,2 0,1.1 0.9,2 2,2 1.1,0 2,-0.9 2,-2 0,-1.1 -0.9,-2 -2,-2z"
+            android:fillColor="#ffffff"
+            android:fillAlpha="1" />
+</vector>
diff --git a/application/vlc-android/res/layout/video_grid_card.xml b/application/vlc-android/res/layout/video_grid_card.xml
index 20d382f7d..9561b3129 100644
--- a/application/vlc-android/res/layout/video_grid_card.xml
+++ b/application/vlc-android/res/layout/video_grid_card.xml
@@ -157,7 +157,7 @@
             android:contentDescription="@string/more_actions"
             android:onClick="@{holder::onMoreClick}"
             android:scaleType="fitEnd"
-                vlc:srcCompat="@drawable/ic_more"
+                vlc:srcCompat="@drawable/ic_more_w"
             vlc:layout_constraintBottom_toBottomOf="parent"/>
 
         <ProgressBar



More information about the Android mailing list