I have a ListPreference with two possible string values in PrefActivity . There is also a colors.xml file, where some colors are described, which are later used in other style files.
Question: how to change colors depending on the value from Preference in colors.xml ? There is a suspicion that you need to use selector , but I do not exactly know how to do it.