Open rogoja opened 6 years ago
the image does not stretch over the entire width of the screen.
my component:
return ( <CachedImage style={styles.profileAvatarImg} source={{uri: userInfo.avatar}}/> )
StyleSheet:
profileImageImg: { width: Dimensions.get('window').width, }
or
profileImageImg: { width: '100%', }
Indenting left and right appear:
the image does not stretch over the entire width of the screen.
my component:
StyleSheet:
or
Indenting left and right appear: