[Android] Add primary colors in Application & TV themes

Geoffrey Métais git at videolan.org
Wed Sep 6 09:56:45 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Sep  6 09:55:55 2017 +0200| [68411b6b8c6b89825cadaff4862f5e7e293746ac] | committer: Geoffrey Métais

Add primary colors in Application & TV themes

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

 vlc-android/res/values/styles.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index cd56b17d2..968ff5f65 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -181,6 +181,9 @@
         <item name="ic_subtitledelay">@drawable/ic_subtitledelay_w</item>
     </style>
    <style name="Theme.VLC.TV" parent="Theme.Leanback">
+       <item name="colorPrimary">@color/orange800</item>
+       <item name="colorPrimaryDark">@color/transparent</item>
+       <item name="colorAccent">@color/orange600</item>
        <item name="imageCardViewInfoAreaStyle">@style/VLCardViewInfoStyle</item>
        <item name="imageCardViewTitleStyle">@style/VLCardViewTitleStyle</item>
        <item name="imageCardViewStyle">@style/VLCardView</item>
@@ -222,6 +225,9 @@
     </style>
 
     <style name="Theme.VLC.Transparent" parent="Theme.AppCompat.DayNight">
+        <item name="colorPrimary">@color/orange800</item>
+        <item name="colorPrimaryDark">@color/transparent</item>
+        <item name="colorAccent">@color/orange600</item>
         <item name="android:windowNoTitle">true</item>
         <item name="android:windowIsTranslucent">true</item>
     </style>



More information about the Android mailing list