title: Align close button on top right corner of ImageBackground react native
body: <p>How to align close button icon on top right corner of ImageBackground component in react-native</p>
  
  <p>Code: </p>
  
  <pre><code>&lt;ImageBackground 
    source={require('../images/AppIntro/1.png')} 
    style={{ width: '100%', height: 150 }} 
  &gt;
    &lt;TouchableOpacity&gt;
      &lt;Icon name="md-close" style={styles.closeButton} /&gt;
    &lt;/TouchableOpacity&gt;
  &lt;/ImageBackground&gt;
  </code></pre>
  
  <p>Edit: i am trying to create a modal(pop up) which will be displayed on button click, so absolute position may not work. </p>