-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
StatusBar background not being set & translucent=false not working #15301
Comments
On Android of course, testing
|
My android's device is this case .it is MI5 7.0(xiaomi) |
same problem! Device: MIX 2 only prop prop code: <View>
<StatusBar
backgroundColor="green"
barStyle="dark-content"
/>
</View> nothing happend!!! |
@facebook-github-bot no-template |
1 similar comment
@facebook-github-bot no-template |
Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! See "What to Expect from Maintainers" to learn more. |
Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! See "What to Expect from Maintainers" to learn more. |
Re-filed this following the template here - #16432 |
@Noitidart I tried as you said but it return undefended all times! |
I have the same problem :( |
I tried posting a comment to closed bug #12618, but there is more to the bug than just background color. The translucency is not being set as well.
Running React Native 0.46.4 on Windows 10 in an Android emulator, emulating a Google Pixel phone with Android version 7. Also tested on Moto E 2nd Gen phone running Android 5.1
In the first screenshot, you can clearly see a translucent StatusBar with no background color, even though I set the translucent property to false & backgroundColor to "blue".
In the second screenshot, I set hidden to true, and the StatusBar did infact hide, so the component is working (somewhat).
The text was updated successfully, but these errors were encountered: