Closed BenQoder closed 6 years ago
We do not take attention to this point. My colleague told me this value is not zero, and get the real status bar height. But zero is ok on our project. We will test it later and find the differences, or you can tell me which android device display error when zero. Thanks, and I'm a developer for iOS.......
The Preview Below Is Without Current Status Bar Height, You See, There's No Spacing From The Top Bar.
Now, After Setting Current Height, The Nav Shifts From Status Bar
I Hope You Are Able To Spot The Differences.
Maybe you use StatusBar.setTranslucent
to change the translucent status. I will consider this situation and publish a new version later.
@BenQoder I have published v1.2.5, and add support for 'translucent' props. You can see README or example project. Thanks for your attention.
Fix Android Status Bar Height From 0 to current Height