Styling Android status bar
jenskuhrjorgensen opened this issue · comments
Hi
I think it should be possible to style the Android status bar through your great navigation bar component.
I don't understand why it is only possible to style the iOS status bar style: (from react-native-navbar)
customizeStatusBar() {
const { statusBar } = this.props;
if (Platform.OS === 'ios') {
if (statusBar.style) {
StatusBar.setBarStyle(statusBar.style);
}
const animation = statusBar.hidden ?
statusBar.hideAnimation : statusBar.showAnimation;
StatusBar.showHideTransition = animation;
StatusBar.hidden = statusBar.hidden;
}
}
Best regards