By setting android:colorForeground
in the theme, the main text colours are calculated based on this setting, i.e. android:textColorPrimary
and android:textColorSecondary
.
I have tested this with API 23 and API 27. In API 23 it is not working and the text colours are based on white. In API 27 it is working as expected.
- Is this a known bug?
- Is there an easy workaround?
- How extended is the bug on different versions of the API?
Thank you very much.