1
0
mirror of https://github.com/etesync/android synced 2024-11-29 11:28:19 +00:00

Switch from preference-v7 to preference-v14 to make preferences look more Material (thanks biociahi!)

This commit is contained in:
Ricki Hirner 2016-06-09 10:13:47 +02:00
parent b30733c64b
commit 210735a500
2 changed files with 6 additions and 3 deletions

View File

@ -63,7 +63,7 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.+'
compile 'com.android.support:cardview-v7:23.+'
compile 'com.android.support:design:23.+'
compile 'com.android.support:preference-v7:23.+'
compile 'com.android.support:preference-v14:23.+'
compile 'com.github.yukuku:ambilwarna:2.0.1'
compile project(':MemorizingTrustManager')

View File

@ -23,6 +23,9 @@
<color name="very_light_grey">#ebebeb</color>
<color name="white">#ffffff</color>
<!-- preference-v14 uses this color for categories text -->
<color name="preference_fallback_accent_color">@color/orangeA700</color>
<!-- app theme -->
@ -33,7 +36,7 @@
<item name="colorAccent">@color/orangeA700</item>
<item name="android:textColorPrimary">@drawable/text_color</item>
<item name="android:textColorSecondary">@color/grey</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
</style>
<style name="AppTheme.NoActionBar">
@ -101,4 +104,4 @@
<item name="android:textColor">@color/orangeA700</item>
</style>
</resources>
</resources>