summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-04-30 15:35:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-04-30 15:35:21 +0200
commit3c84db778888809083ff7707eebc0c55ebc6a6c7 (patch)
tree2388ff6780f6af8c54123b4a23cecf31a34bc894
parenta47ddf57d1cdaef5b93d54055b66a26916d3bd95 (diff)
Preferences: use v14 material style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--app/build.gradle2
-rw-r--r--app/src/main/res/values/styles.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 8a157f06..97596c5b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -44,7 +44,7 @@ dependencies {
implementation "com.android.support:support-annotations:$supportLibsVersion"
implementation "com.android.support:appcompat-v7:$supportLibsVersion"
implementation "com.android.support:design:$supportLibsVersion"
- implementation "com.android.support:preference-v7:$supportLibsVersion"
+ implementation "com.android.support:preference-v14:$supportLibsVersion"
implementation "com.getbase:floatingactionbutton:$fabLibVersion"
implementation "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion"
implementation "net.sourceforge.streamsupport:android-retrostreams:$streamsupportVersion"
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 4ee6eaa4..37957a7b 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -3,7 +3,7 @@
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar" />
<style name="SettingsTheme" parent="AppTheme">
- <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
+ <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
</style>
<style name="fab_label" parent="android:TextAppearance.DeviceDefault.Inverse">
<item name="android:background">@drawable/fab_label_background</item>