[Android] Use stable preference support lib + fix issue with header space

Nicolas POMEPUY git at videolan.org
Thu Feb 7 15:21:36 CET 2019


vlc-android | branch: master | Nicolas POMEPUY <nicolas.pomepuy at gmail.com> | Thu Feb  7 12:44:22 2019 +0100| [bc21c5e18ff3be9b86398b255d5685d6df42103e] | committer: Geoffrey Métais

Use stable preference support lib + fix issue with header space

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

 build.gradle                                             |  2 +-
 vlc-android/res/values-sw360dp-v13/values-preference.xml | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index a68068d15..cf26fb870 100644
--- a/build.gradle
+++ b/build.gradle
@@ -35,7 +35,7 @@ ext {
     targetSdkVersion = 28
     compileSdkVersion = 28
     androidxCoreVersion = '1.0.1'
-    androidxPreferencesVersion = '1.1.0-alpha02'
+    androidxPreferencesVersion = '1.0.0'
     androidxVersion = '1.0.0'
     androidxAnnotationVersion = '1.0.1'
     androidxAppcompatVersion = '1.0.2'
diff --git a/vlc-android/res/values-sw360dp-v13/values-preference.xml b/vlc-android/res/values-sw360dp-v13/values-preference.xml
new file mode 100644
index 000000000..571d212d2
--- /dev/null
+++ b/vlc-android/res/values-sw360dp-v13/values-preference.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:tools="http://schemas.android.com/tools">
+    <bool name="config_materialPreferenceIconSpaceReserved" tools:ignore="MissingDefaultResource,PrivateResource">
+        false
+    </bool>
+    <dimen name="preference_category_padding_start" tools:ignore="MissingDefaultResource,PrivateResource">
+        0dp
+    </dimen>
+
+
+</resources>
\ No newline at end of file



More information about the Android mailing list