1return (
2 <ImageBackground source={...} style={{width: '100%', height: '100%'}}>
3 <Text>Inside</Text>
4 </ImageBackground>
5);
1<ImageBackground source={require('../design/postsbg1.png')} style={styles.image}>
2 ...children tags
3</ImageBackground>
1return (
2 <ImageBackground source={...} style={{width: '100%', height: '100%'}}>
3 <Text>Inside</Text>
4 </ImageBackground>
5);
6
1return (
2 <ImageBackground source={...} style={{width: '100%', height: '100%'}}>
3 ......All Children tags
4 </ImageBackground>
5);
1<ImageBackground source={require('background image path')} style={{width: '100%', height: '100%'}}>
2 <View style={{position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, justifyContent: 'center', alignItems: 'center'}}>
3 <Text>Centered text</Text>
4 </View>
5</ImageBackground>