[Android] Change BottomSheet title color to follow new guidelines

Nicolas Pomepuy git at videolan.org
Wed May 5 05:17:26 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue May  4 13:08:33 2021 +0200| [e126fbb453a9f54b6932bcc925af9c7eac7e10aa] | committer: Nicolas Pomepuy

Change BottomSheet title color to follow new guidelines

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

 application/vlc-android/res/values/styles.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/application/vlc-android/res/values/styles.xml b/application/vlc-android/res/values/styles.xml
index 5f3a04cb2..dd9ccca9d 100644
--- a/application/vlc-android/res/values/styles.xml
+++ b/application/vlc-android/res/values/styles.xml
@@ -240,6 +240,7 @@
         <item name="colorPrimary">@color/orange800</item>
         <item name="colorPrimaryDark">@color/transparent</item>
         <item name="colorAccent">@color/orange600</item>
+        <item name="font_default">@color/white</item>
         <item name="imageCardViewInfoAreaStyle">@style/VLCardViewInfoStyle</item>
         <item name="imageCardViewTitleStyle">@style/VLCardViewTitleStyle</item>
         <item name="imageCardViewStyle">@style/VLCardView</item>
@@ -619,7 +620,8 @@
     <style name="Theme.VLC.BottomSheetTitle">
         <item name="android:minHeight">56dp</item>
         <item name="android:gravity">center_vertical</item>
-        <item name="android:textColor">?attr/colorAccent</item>
+        <item name="android:textColor">?attr/font_default</item>
+        <item name="android:fontFamily">sans-serif-medium</item>
         <item name="android:textSize">18sp</item>
     </style>
 



More information about the Android mailing list