I am trying to change the summary text color of the CheckBoxPreference. I have changed the text color of the title by specifying a theme but it doesn't seem to be registering with the summary portion. Here is my theme.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="settings_theme" parent="android:Theme.Light">
<item name="android:textColor">@color/light_gray</item>
</style>
</resources>
And I am calling this in the onCreate method of my settings activity:
setTheme(R.style.settings_theme);
Add this to the style.xml in your theme:
<item name="android:textColorSecondary">@color/light_gray</item>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With