title: How to set custom fonts on EditText in Android?
body: <p>I am trying to implement a custom typeface on an <code>EditText</code>. Does anyone have a better approach as opposed to what I'm currently doing?</p>
  
  <pre><code>Typeface myFont = Typeface.createFromAsset(getAssets(), "fonts/myfont.ttf");
  edittext.setTypeface(myFont);
  </code></pre>
  
  <p>Because I have lots of <code>EditText</code>s...</p>