Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling Android status bar #224

Open
jenskuhrjorgensen opened this issue Jun 15, 2017 · 0 comments
Open

Styling Android status bar #224

jenskuhrjorgensen opened this issue Jun 15, 2017 · 0 comments

Comments

@jenskuhrjorgensen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant