Android supports Day/Night mode with
../values/colors.xml
and
../values-night/colors.xml
.
If I wanted to add another color folder, say for high contrast colors
(../values-highconst/colors.xml
), is there a way to add extra color folders and make it pick the colors in that extra folder based on meeting a certain condition?
I thought of doing it with standard_theme.xml, high_contrast_theme.xml, and when we try to also add day/night mode to each theme, it gets harder to manage and maintain with multiple developers working on the project. How do we achieve that?