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:
Sunny Shao
2019-09-27 13:16:44 +08:00
parent 1e719a5766
commit 9434d26237

View File

@@ -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>