diff --git a/js/recorder/components/brand/Brand.js b/js/recorder/components/brand/Brand.js index 966c3d3..1fd6292 100644 --- a/js/recorder/components/brand/Brand.js +++ b/js/recorder/components/brand/Brand.js @@ -71,6 +71,7 @@ export default class Brand extends Component { if (this.state.showFooter) { return <Image style={styles.bottomImage} + resizeMode= {'center'} source={require('../../images/brand/shared_bottom.png')} />; } @@ -141,6 +142,5 @@ let styles = StyleSheet.create({ width, marginTop: 15, marginBottom: 15, - resizeMode: 'center', }, }); diff --git a/js/recorder/components/brand/BrandCell.js b/js/recorder/components/brand/BrandCell.js index 313fd96..ea84a15 100644 --- a/js/recorder/components/brand/BrandCell.js +++ b/js/recorder/components/brand/BrandCell.js @@ -132,7 +132,7 @@ export default class BrandCell extends Component{ <View style={styles.container}> <View style={styles.topContainer}> <View style={styles.left}> - <YH_Image style={styles.icon} url={icon} /> + <YH_Image style={styles.icon} resizeMode= {'contain'} url={icon} /> <View> <Text style={styles.name} numberOfLines={1}>{data.get('brand_name')}</Text> {this.renderDesc()} @@ -144,14 +144,14 @@ export default class BrandCell extends Component{ style={styles.optTouch} onPress={this.props.onPressLike} > - <View><Image style={styles.optIcon} source={heartIcon} /></View> + <View><Image style={styles.optIcon} resizeMode= {'center'} source={heartIcon} /></View> </TouchableOpacity> <TouchableOpacity activeOpacity={1} style={styles.optTouch} onPress={this.props.onPressHome} > - <Image style={styles.optIcon} source={homeIcon} /> + <Image style={styles.optIcon} resizeMode={'center'} source={homeIcon} /> </TouchableOpacity> </View> </View> @@ -203,7 +203,6 @@ let styles = StyleSheet.create({ marginLeft: 10, width: 50, height: 50, - resizeMode: 'contain', }, name: { marginTop: 10, @@ -234,7 +233,6 @@ let styles = StyleSheet.create({ optIcon: { width: 38, height: 38, - resizeMode: 'center', }, rowContainer: { width: 113,