title: Adding Custom Font android using lib
body: <p>I am using android custom font lib Calligraphy <a href="https://github.com/chrisjenx/Calligraphy" rel="noreferrer">https://github.com/chrisjenx/Calligraphy</a>.</p>
  
  <p>But there is no effect on textview. I am using the below code:</p>
  
  <pre><code>    public class MainActivity extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
      }
  
      @Override
      protected void attachBaseContext(Context newBase) {
          super.attachBaseContext(new CalligraphyContextWrapper(newBase));
      }
  }
  </code></pre>
  
  <p>In XML:</p>
  
  <pre><code>&lt;TextView
          tools:context=""
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Touch Listner"
          android:textSize="18sp"
          app:fontPath="fonts/gotham-book.ttf" /&gt;
  </code></pre>
  
  <p>In attrs:</p>
  
  <pre><code>&lt;resources&gt;
      &lt;attr name="fontPath" format="string"/&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>In assets/font/gotham-book.ttf</p>