Answers for "react native onChangeText resize the background image"

0

react native onChangeText resize the background image

const d = Dimensions.get("window")

backgroundImage: {
  position: 'absolute'
  flex: 1,
  backgroundColor:'rgba(0,0,0,0.45)',
  width: d.width,
  height: d.height
}

<ImageBackground 
source={require('../../assets/signinBG.jpg')} 
style={styles.backgroundImage}
resizeMode="repeat" // or contain or cover
>
Posted by: Guest on November-04-2020

Code answers related to "react native onChangeText resize the background image"

Code answers related to "Javascript"

Browse Popular Code Answers by Language