Replies: 1 comment
-
Try with <?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="android:windowLightStatusBar">true</item>
<item name="android:statusBarColor">#ff0000</item>
</style>
</resources> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So we probably all know we can change the status bar color in Android via:
https://capacitor.ionicframework.com/docs/apis/status-bar/
However when I do this in my JS code I'm too late and initially there is a different color:

Is there any way to set the initial value?
I tried changing something in
app\src\main\res\values\styles.xml
that didn't help.Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions