Hi,
I am trying to control the android initial activity color.
in the attached project the initial screen gets white if I set the LightTheme in the manifest and it gets black when I set DarkTheme in the manifest.
What I would like is the app to follow the phone mode as many other apps do. basically I would like the initial screen white if the phone is NOT in night mode and I would like it black if the phone is in night mode.
I have tried to customize the manifest like:
How can I make it so that drawables and objects in MainActivity.xml change colour depending on if dark mode is on or not? I have this in colors.xml: <resources> <color name="colorPrimary"...