Android - Set custom font in TextView - ANDROID - Helper

Monday, May 20, 2013

Android - Set custom font in TextView

SET CUSTOM FONT IN TEXTVIEW

TextView textView1 = (TextView) findViewById(R.id.textView1);

Typeface font = Typeface.createFromAsset(getAssets(),
                "Doonga Slash.ttf");
       
textView1.setTypeface(font);

No comments:

Post a Comment