Update the color of the preference category
Use the new attribute preferenceCategoryTitleTextColor to change the color of the preference category. Bug: 117402186 Test: manual view Change-Id: If2df5529a63ff9cd96f242a9ea5f3dac053b0fd2
This commit is contained in:
@@ -27,6 +27,8 @@
|
|||||||
<item name="twoStateButtonPreferenceStyle">@style/TwoStateButtonPreference</item>
|
<item name="twoStateButtonPreferenceStyle">@style/TwoStateButtonPreference</item>
|
||||||
<item name="preferenceCategoryTitleTextAppearance">@style/TextAppearance.CategoryTitle
|
<item name="preferenceCategoryTitleTextAppearance">@style/TextAppearance.CategoryTitle
|
||||||
</item>
|
</item>
|
||||||
|
<!-- For preference category color -->
|
||||||
|
<item name="preferenceCategoryTitleTextColor">?android:attr/textColorSecondary</item>
|
||||||
<item name="preferenceFragmentCompatStyle">@style/SettingsPreferenceFragmentStyle</item>
|
<item name="preferenceFragmentCompatStyle">@style/SettingsPreferenceFragmentStyle</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user