Home » » Android - Set custom font in TextView

Android - Set custom font in TextView

Written By MR HARI on Senin, 20 Mei 2013 | 22.22

SET CUSTOM FONT IN TEXTVIEW

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

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

0 komentar:

Posting Komentar

 
Support : Your Link | Your Link | Your Link
Copyright © 2013. Android Center - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger