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

PomepuyN git at videolan.org
Thu Feb 7 13:38:51 CET 2019


vlc-android | branch: master | PomepuyN <kh3p3ra at gmail.com> | Thu Feb  7 12:44:22 2019 +0100| [78a8e1762314cf270588b7b317c273ef17cdf2c4] | committer: PomepuyN

Use stable preference support lib + fix issue with header space

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

 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