How to add more text styles into android project? -


as question. want change text font in textview image below.

enter image description here

i don't want use "bold" or "italic" style in textstyle.

download font file here , put them in fonts folder under assets folder. , use below code applying font on textview :

typeface font = typeface.createfromasset(this.getassets(), "fonts/walkway bold.ttf"); ((textview) findviewbyid(r.id.textview13)).settypeface(font); 

Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -