Created
January 13, 2014 12:46
-
-
Save oguya/8399638 to your computer and use it in GitHub Desktop.
Add roboto fonts in textviews android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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