Skip to content

Instantly share code, notes, and snippets.

@oguya
Created January 13, 2014 12:46
Show Gist options
  • Save oguya/8399638 to your computer and use it in GitHub Desktop.
Save oguya/8399638 to your computer and use it in GitHub Desktop.
Add roboto fonts in textviews android
Typeface tf = Typeface.createFromAsset(getAssets(),"fonts/Roboto-Black.ttf");
TextView tv = (TextView) findViewById(R.id.FontTextView);
tv.setTypeface(tf);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment