cover entire screen react antive code example
Example: view background image in react native
<ImageBackground source={require('../design/postsbg1.png')} style={styles.image}>
...children tags
</ImageBackground>
<ImageBackground source={require('../design/postsbg1.png')} style={styles.image}>
...children tags
</ImageBackground>