Closed tabekg closed 4 years ago
Please, look at the status bar. I'd like to make an intro with full-screen mode (including status bar)
Device: Android 9, MI 8 Lite
How about using the statusbar-component in renderItem
? E.g.
_renderItem = ({ props, dimensions }) => (
<View
style={[
styles.slide,
...dimensions,
backgroundColor: props.backgroundCOlor
]}>
<StatusBar backgroundColor={props.backgroundColor} barStyle="light-content" />
{props.title}
{props.text}
</View>
);
For future reference this can be achieved by doing:
<View style={{flex: 1}}>
<StatusBar translucent backgroundColor="transparent" />
<AppIntroSlider .../>
</View>
Could you elaborate on what you are trying to achieve?