React-native-navigation: how to translucent statusbar in Android?

Created on 14 Oct 2020  路  2Comments  路  Source: wix/react-native-navigation

Issue Description

I want to set StatusBar translucent.
IOS is fine.
when modal is open(called showModal),
It only shows grey color status bar when I set statusBar translucent in Android.

Steps to Reproduce / Code Snippets / Screenshots

Navigation.mergeOptions(this.props.componentId, {
statusBar: {
backgroundColor: "transparent",
style: "dark",
translucent: true,
},
});

image


Environment

  • React Native Navigation version: 6.9.1
  • React Native version: 0.63.2
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Device/ Both
questiostack overflow

All 2 comments

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the wix-react-native-navigation tag or on Discord.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yayanartha picture yayanartha  路  3Comments

viper4595 picture viper4595  路  3Comments

birkir picture birkir  路  3Comments

kiroukou picture kiroukou  路  3Comments

bdrobinson picture bdrobinson  路  3Comments