Bug?
2 thoughts on “Using Modal in an app with status bar hidden = true results in status bar being shown”
Comments are closed.
2 thoughts on “Using Modal in an app with status bar hidden = true results in status bar being shown”
-
Just go to styles.xml of android/app/src/main/res/values/styles.xml and put this code in Base application theme
`
<style name=”AppTheme” parent=”Theme.ReactNative.AppCompat.Light.NoActionBar.FullScreen”>
</style>
`
After putting code, remove generated folders from android/app/build/generated folder and again do
react-native run-android . It will work
Comments are closed.
@kfiroo I’ve explained #8627 (comment) those are two different StatusBar on View an Modal, you can’t control the StatusBar on Modal right now
Just go to styles.xml of android/app/src/main/res/values/styles.xml and put this code in Base application theme
`
<style name=”AppTheme” parent=”Theme.ReactNative.AppCompat.Light.NoActionBar.FullScreen”>
</style>
`
After putting code, remove generated folders from android/app/build/generated folder and again do
react-native run-android . It will work