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

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -