[Android] Fix settings view text colors

Alexandre Perraud git at videolan.org
Fri Nov 6 16:58:39 CET 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Fri Nov  6 16:57:26 2015 +0100| [1c3f7ee7180728db250024c8e8a896d0b2e2005c] | committer: Alexandre Perraud

Fix settings view text colors

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=1c3f7ee7180728db250024c8e8a896d0b2e2005c
---

 vlc-android/res/values/styles.xml |   15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index fed0621..efbd260 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -15,7 +15,7 @@
         <item name="android:gridViewStyle">@style/Theme.VLC.List</item>
         <item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
         <item name="android:dropDownListViewStyle">@style/Theme.VLC.List</item>
-        <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
+        <item name="preferenceTheme">@style/VLCPreferenceTheme.Light</item>
 
         <item name="colorPrimary">@color/orange800</item>
         <item name="colorPrimaryDark">@color/orange700</item>
@@ -110,7 +110,7 @@
         <item name="android:gridViewStyle">@style/Theme.VLC.List</item>
         <item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
         <item name="android:dropDownListViewStyle">@style/Theme.VLC.List</item>
-        <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
+        <item name="preferenceTheme">@style/VLCPreferenceTheme.Dark</item>
 
         <item name="colorPrimary">@color/orange800</item>
         <item name="colorPrimaryDark">@android:color/transparent</item>
@@ -237,6 +237,17 @@
 
     <style name="Toolbar.VLC" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
 
+    <!--Preferences-->
+    <style name="VLCPreferenceTheme.Light" parent="PreferenceThemeOverlay">
+        <item name="android:textColorPrimary">@color/grey900</item>
+        <item name="android:textColorSecondary">@color/grey700</item>
+    </style>
+
+    <style name="VLCPreferenceTheme.Dark" parent="PreferenceThemeOverlay">
+        <item name="android:textColorPrimary">@color/grey50</item>
+        <item name="android:textColorSecondary">@color/grey600</item>
+    </style>
+
     <!-- Tips Apearance-->
 
     <style name="TipsFontStyle">



More information about the Android mailing list