The textColor attribute isn\'t working. Here\'s my XML:
A lot of the other answers didn't work for my case. I'm using a PreferenceFragmentCompat and I didn't want to have actual code doing this. So I simply made a copy of the preference category xml file and changed the textColor field. The file goes under the Apache license, Version 2.
And imported it in my .xml layout for the Preference fragment: