I have an example of preference items below
<CheckBoxPreference android:key="chkSound" android:summary="Sound is Off" android:title="Sound" />
I use the theme in res / values ββto change the color of the summary text
<style name="ThemeDarkText"> <item name="android:textColor">#000000</item> </style>
And in the code I write this line
setTheme(R.style.ThemeDarkText);
It works fine in Android 2.1, but when I tried to run it on another os (ex Android 4.0) it did not change the final color of the text, only the color of the name. !!
Any help?
Antoung
source share