From e3e966689d722041555fd8a148212dcde46cc617 Mon Sep 17 00:00:00 2001 From: Mill Chen Date: Fri, 10 May 2019 01:50:57 +0800 Subject: [PATCH] Update listDivider for PreferenceFragmentCompat The support library uses preference_list_divider_material for its list divider and its color is a hardcoded value. That's why the divider color can't be applied to the PreferenceFragmentCompat in Settings when updating the divider color in the device defaults theme level. To make it so we set its listDivider to list_divider_material to facilitate updating the divider color. Bug: 129943610 Test: visual Change-Id: Ie992b925fae0effd4e00682a911ad004ac3fc033 --- res/values/styles_preference.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/res/values/styles_preference.xml b/res/values/styles_preference.xml index 5cd7a6c8449..1f4421f2454 100644 --- a/res/values/styles_preference.xml +++ b/res/values/styles_preference.xml @@ -27,6 +27,7 @@ @style/TwoStateButtonPreference @style/TextAppearance.CategoryTitle + @style/SettingsPreferenceFragmentStyle + +