Top Bar gets drawn behind status bar (v2)
Issue Description
I want to have a status bar and a top bar.
But when i use both the top bar gets drawn behind the status bar and half the text is not visible.
I tried to set drawBehind in statusBar and topBar to false. But this had no effect.
Steps to Reproduce / Code Snippets / Screenshots

Environment
- React Native Navigation version: 2.0.2582
- React Native version: 0.57.2
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): Android Simulator
Also see the same issue. It works normally before 2.0.2578.
Does this reproduce in the playground app?
I can confirm this is also happening in version 2.0.2620, I've just upgraded and it never happened before.
EDIT: The version mentioned by @starzle does not support RN 0.57, maybe it's related?
Any solution for this?
@edit Actually, possibly restart app help me. Not sure what fixed it.
Still happening for me with 2.1.3, I think the problem is caused by bottomTabs layout.
with RNN 2.1.3, the same issue is happening on me. i am using RN 0.56.0
Just set the "drawBehind:false" in statusBar it should be fix...like below i think you set drawBehind:true due to why this is happening.... @davidwico
options: { statusBar: { visible: true, drawBehind: false, }, topBar: { visible: true, drawBehind: false, animate: true, } }
@Rana-Muhammad-Amir that's how it's supposed to work. However it does not and I think it's also related to this issue.
After trying to rollback to earlier versions, trying around each parameters of Drawing behind or not, adding top margins to the layout and STILL it drew behind, I realized I had this part in my view
<StatusBar translucent={true} backgroundColor={this.props.color} />
Please note that if you have this option, this basically removes whatever RNN is trying to do as it will make that bar draw behind... So all I had to do to get this working :
<StatusBar translucent={false} backgroundColor={this.props.color} />
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
Related issue with bug replicated in a repo https://github.com/wix/react-native-navigation/issues/4605
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
The issue has been closed for inactivity.