Hi all,
By this post we are going to learn about how to create/set the custom type face to use particular language or .ttf files in our application.
Just write this line in your application file or needed activity. Its depends upon the project requirement.
Then set the type face to the textview as like the below line.
By this post we are going to learn about how to create/set the custom type face to use particular language or .ttf files in our application.
Just write this line in your application file or needed activity. Its depends upon the project requirement.
Typeface tamilfont = Typeface.createFromAsset(getAssets(),
"fonts/Bamini.ttf");
textViewTopbar.setTypeface(AthichudiApplication.tamilfont);
No comments:
Post a Comment