You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2020. It is now read-only.
I'm new in react-native. My English is very bad. I hope you understand me.
I insert resizeMode={this.props.resizeMode} into 2 Image tag on about line 210 in Slideshow.js.
It's worked for me.
About resizeMode, reference: https://facebook.github.io/react-native/docs/image#resizemode
In my class, i called it: <Slideshow dataSource={this.state.dataSource} position={this.state.position} onPositionChanged={position => this.setState({ position })} height={Dimensions.get("window").height} resizeMode="contain" />
Hope it useful to you.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
how to set image resizeMode? And also set container height to full screen but keep image width not overflow or cropped. thanks
The text was updated successfully, but these errors were encountered: