I have an Android app that I develop using the Maven project structure.
The app has an entirely black background, only the status bar's color doesn't change to black, but continues white. The effect is quite annoying.
I have found this code snippet from a prior query here :
<resources>
<color name="colorPrimary">#ffffc003</color>
<color name="colorPrimaryDark">#ffffc003</color>
<color name="colorAccent">#ff009486</color>
</resources>
The code should be placed into a separate colors.xml
file, inside the /native/android directory.
I have tried this with my Maven project, but it seems to only work for the older Ant structure.
How can I change the status bar color in Maven?