[Android] Remove v14 resources

Geoffrey Métais git at videolan.org
Mon Jun 4 18:02:38 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jun  4 18:02:06 2018 +0200| [6ffe1b481fad31b953da07ef5bf34b420bc3f10f] | committer: Geoffrey Métais

Remove v14 resources

It's useless now minSDK is 14+

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

 vlc-android/res/values-v14/styles.xml | 14 --------------
 vlc-android/res/values/styles.xml     |  4 ++--
 2 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/vlc-android/res/values-v14/styles.xml b/vlc-android/res/values-v14/styles.xml
deleted file mode 100644
index 52c294f7b..000000000
--- a/vlc-android/res/values-v14/styles.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<resources xmlns:android="http://schemas.android.com/apk/res/android">
-
-    <!--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>
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index c1e18b24e..6dea77c18 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -328,12 +328,12 @@
     </style>
 
     <!--Preferences-->
-    <style name="VLCPreferenceTheme.Light" parent="PreferenceThemeOverlay">
+    <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">
+    <style name="VLCPreferenceTheme.Dark" parent="PreferenceThemeOverlay.v14.Material">
         <item name="android:textColorPrimary">@color/grey50</item>
         <item name="android:textColorSecondary">@color/grey600</item>
     </style>



More information about the Android mailing list