mirror of
https://github.com/etesync/android
synced 2024-11-25 17:38:13 +00:00
Switch from preference-v7 to preference-v14 to make preferences look more Material (thanks biociahi!)
This commit is contained in:
parent
b30733c64b
commit
210735a500
@ -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')
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user