Blog completely focused on android question-answer.
1. create assets/fonts/ and put your TTF files in there:
assets/fonts/
2.set view's properties.
TextView tv=(TextView)findViewById(R.id.custom);
Typeface face=Typeface.createFromAsset(getAssets(), "fonts/ARIAL.ttf"); tv.setTypeface(face);
No comments:
Post a Comment