Alin Alin - 23 days ago 6
Android Question

Programmatically change between two resource files

Is there a way to change/pick which of the resource files is being used if you have like

colors.xml
and
colors_inverted.xml
and you want Activity A to use one and Activity B to use another?

Answer Source

Use separate Theme with different colors for different activities. Using two color files is not possible.