Currently the status bar colour remains the same colour regardless of which theme you select on Android.
I would like for it to become black/dark gray to match the darker themes in the app.
I have figured out how to do this in code (I think). It seems to work in the emulator.
I also think it might be nice to have an option to hide the status bar altogether.
Something like this? In the global-style.js file.
if(Platform.OS === 'android')
{
StatusBar.setBackgroundColor('#000000');
StatusBar.setBarStyle("light-content");
}
This line already exists in the root.js file:
<StatusBar barStyle="dark-content" />
It overrides any changes I make in the global style file.
This may not be the best way to handle it. I haven’t really programmed much in a couple of years, so if there is a better way to handle this, please tell me.
This is how it looks by default:
And this is how with the changes I made (using the OLED dark theme):