[Android] Fix audio player artist color
Nicolas Pomepuy
git at videolan.org
Fri Apr 26 12:45:31 CEST 2019
vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Mon Apr 15 07:17:30 2019 +0200| [0d6e358d1289126e448ff377ec7c76e849fa4d4c] | committer: Geoffrey Métais
Fix audio player artist color
> https://code.videolan.org/videolan/vlc-android/commit/0d6e358d1289126e448ff377ec7c76e849fa4d4c
---
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 2812d36e9..0c6fc510a 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 f9219a7d7..776fa3ce7 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -42,6 +42,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>
@@ -146,6 +147,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>
@@ -319,6 +321,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