[Android] Use preference v14 theme on v14+ devices
Geoffrey Métais
git at videolan.org
Fri Feb 26 10:46:15 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb 26 10:22:18 2016 +0100| [c46495579f2348b54e4d974d3211c0df992a68f3] | committer: Geoffrey Métais
Use preference v14 theme on v14+ devices
> https://code.videolan.org/videolan/vlc-android/commit/c46495579f2348b54e4d974d3211c0df992a68f3
---
vlc-android/res/values-v14/styles.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/vlc-android/res/values-v14/styles.xml b/vlc-android/res/values-v14/styles.xml
index 5f05270..adc2658 100644
--- a/vlc-android/res/values-v14/styles.xml
+++ b/vlc-android/res/values-v14/styles.xml
@@ -3,4 +3,15 @@
<style name="Toolbar.VLC" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="android:textCursorDrawable">@drawable/cursor_w</item>
</style>
+
+ <!--Preferences-->
+ <style name="VLCPreferenceTheme.Light" parent="PreferenceThemeOverlay.v14.Material">
+ <item name="android:textColorPrimary">@color/grey900</item>
+ <item name="android:textColorSecondary">@color/grey700</item>
+ </style>
+
+ <style name="VLCPreferenceTheme.Dark" parent="PreferenceThemeOverlay.v14.Material">
+ <item name="android:textColorPrimary">@color/grey50</item>
+ <item name="android:textColorSecondary">@color/grey600</item>
+ </style>
</resources>
More information about the Android
mailing list