[Android] Fix audio player artist color
Nicolas Pomepuy
git at videolan.org
Mon Apr 29 10:31:02 CEST 2019
vlc-android | branch: 3.1.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Mon Apr 15 07:17:30 2019 +0200| [f89cba7b719955342c017d8dd5ebefb34a96f41c] | committer: Geoffrey Métais
Fix audio player artist color
(cherry picked from commit 0d6e358d1289126e448ff377ec7c76e849fa4d4c)
> https://code.videolan.org/videolan/vlc-android/commit/f89cba7b719955342c017d8dd5ebefb34a96f41c
---
vlc-android/res/layout/audio_media_switcher_item.xml | 2 +-
vlc-android/res/values/attrs.xml | 1 +
vlc-android/res/values/styles.xml | 3 +++
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/vlc-android/res/layout/audio_media_switcher_item.xml b/vlc-android/res/layout/audio_media_switcher_item.xml
index d050fa66c..6d3472e2c 100644
--- a/vlc-android/res/layout/audio_media_switcher_item.xml
+++ b/vlc-android/res/layout/audio_media_switcher_item.xml
@@ -46,7 +46,7 @@
android:maxLines="1"
android:ellipsize="marquee"
android:scrollHorizontally="true"
- android:textColor="?attr/font_light"
+ android:textColor="?attr/font_audio_light"
android:background="#00000000"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="parent"
diff --git a/vlc-android/res/values/attrs.xml b/vlc-android/res/values/attrs.xml
index 7e7a72fac..dcac6dd39 100644
--- a/vlc-android/res/values/attrs.xml
+++ b/vlc-android/res/values/attrs.xml
@@ -13,6 +13,7 @@
<attr name="background_player" format="reference|color" />
<attr name="background_audio_tips" format="reference|color" />
<attr name="font_default" format="reference|color" />
+ <attr name="font_audio_light" format="reference|color" />
<attr name="font_light" format="reference|color" />
<attr name="font_actionbar" format="reference|color" />
<attr name="font_actionbar_selected" format="reference|color" />
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index 27aa7f17a..f042d62fd 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -40,6 +40,7 @@
<item name="audio_player_header_time">@color/orange500</item>
<item name="font_default">@color/grey900</item>
<item name="font_light">@color/grey700</item>
+ <item name="font_audio_light">@color/grey700</item>
<item name="font_actionbar">@color/orange200</item>
<item name="font_actionbar_selected">@color/grey50</item>
<item name="navigationview_item_color">@color/navigationview_color</item>
@@ -144,6 +145,7 @@
<item name="audio_player_header_time">@color/orange500</item>
<item name="font_default">@color/grey50</item>
<item name="font_light">@color/grey600</item>
+ <item name="font_audio_light">@color/grey400</item>
<item name="font_actionbar">@color/grey600</item>
<item name="font_actionbar_selected">@color/grey200</item>
<item name="navigationview_item_color">@color/navigationview_color_dark</item>
@@ -289,6 +291,7 @@
<item name="ic_save">@drawable/ic_save_w</item>
<item name="font_default">@color/grey50</item>
<item name="font_light">@color/grey600</item>
+ <item name="font_audio_light">@color/grey600</item>
<item name="list_subtitle">@color/grey400</item>
<item name="list_title_last">@color/list_title_last</item>
More information about the Android
mailing list