Statusbar settings

This commit is contained in:
Marc Rousavy 2021-02-19 21:10:32 +01:00
parent a428aea69c
commit 73b371ccdc
2 changed files with 8 additions and 4 deletions

View File

@ -1,9 +1,6 @@
<resources> <resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. --> <item name="android:windowBackground">#000000</item>
<item name="android:textColor">#000000</item> <item name="android:textColor">#000000</item>
</style> </style>
</resources> </resources>

View File

@ -18,6 +18,13 @@ Navigation.setDefaultOptions({
backgroundColor: 'black', backgroundColor: 'black',
componentBackgroundColor: 'black' componentBackgroundColor: 'black'
}, },
statusBar: {
animated: true,
drawBehind: true,
translucent: true,
visible: true,
style: 'dark'
},
}); });
Navigation.registerComponent('Splash', () => gestureHandlerRootHOC(Splash), () => Splash); Navigation.registerComponent('Splash', () => gestureHandlerRootHOC(Splash), () => Splash);