title: How can i use same custom fonts for both android and ios using react native
body: <p>I am working with the same code for both ios and android using react native. Now in my project I want to use custom fonts for both. I know how to apply custom fonts for ios but those same fonts how to apply for android also?</p>
  
  <p>//New sample</p>
  
  <blockquote>
    <p>I added the custom font under
    sample/android/app/src/main/assets/fonts/gillsans-italic.ttf  I
    applied this gillsans-italic.ttf  font in CustomFontTest component
    like below</p>
  </blockquote>
  
  <pre><code>var CustomFontTest = React.createClass({
        render:function(){
           return (&lt;View&gt;&lt;Text style={styles.customFont}&gt;CustomFont&lt;/Text&gt;&lt;/View&gt;)
        }
  })
  var styles = StyleSheet.create({
      customFont:{
          fontFamily:'gillsans-italic',
          fontSize:14,
          color:'#efefef'
      }
  })
  </code></pre>