1const d = Dimensions.get("window")
2
3backgroundImage: {
4 position: 'absolute'
5 flex: 1,
6 backgroundColor:'rgba(0,0,0,0.45)',
7 width: d.width,
8 height: d.height
9}
10
11<ImageBackground
12source={require('../../assets/signinBG.jpg')}
13style={styles.backgroundImage}
14resizeMode="repeat" // or contain or cover
15>