Preferences: use v14 material style

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2018-04-30 15:35:21 +02:00
parent a47ddf57d1
commit 3c84db7788
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ dependencies {
implementation "com.android.support:support-annotations:$supportLibsVersion" implementation "com.android.support:support-annotations:$supportLibsVersion"
implementation "com.android.support:appcompat-v7:$supportLibsVersion" implementation "com.android.support:appcompat-v7:$supportLibsVersion"
implementation "com.android.support:design:$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 "com.getbase:floatingactionbutton:$fabLibVersion"
implementation "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion" implementation "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion"
implementation "net.sourceforge.streamsupport:android-retrostreams:$streamsupportVersion" implementation "net.sourceforge.streamsupport:android-retrostreams:$streamsupportVersion"

View File

@ -3,7 +3,7 @@
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar" /> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar" />
<style name="SettingsTheme" parent="AppTheme"> <style name="SettingsTheme" parent="AppTheme">
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item> <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
</style> </style>
<style name="fab_label" parent="android:TextAppearance.DeviceDefault.Inverse"> <style name="fab_label" parent="android:TextAppearance.DeviceDefault.Inverse">
<item name="android:background">@drawable/fab_label_background</item> <item name="android:background">@drawable/fab_label_background</item>