How to change typeface of a TextView in the xml?
<p>I have been googling around, but haven't found a solution for this.</p>

<p>I know I can change the font of a <code>TextView</code> programatically like this <code>view.setTypeface(Typeface.createFromAsset(getAssets(),"dejavusans.ttf"));</code>.</p>

<p>But, isn't there a way to do it directly in the xml file? I have found <code>android:typeface</code> attribute but it only have the options of "normal", "sans, "serif" and "monospace". How can I use this font I have in <code>/assets/fonts/Roboto-Regular.ttf</code>?</p>

<p>Thanks.</p>
