title: react-native: image not show when not set width or height
body: <p>rn version : 0.38</p>
  
  <p>just specify the image style using flex, no width and height, but Image will not show on mobile screen. How to do this.</p>
  
  <pre><code>&lt;View style={styles.container}&gt;
      &lt;Image style={styles.image} source={{uri : 'https://www.baidu.com/img/bd_logo1.png'}}&gt;
      &lt;/Image&gt;
  &lt;/View&gt;
  
  
  
  const styles = StyleSheet.create({
    container: {
      flex: 1
    },
    image: {
       flex: 1,
      resizeMode: 'contain'
    },
  });
  </code></pre>