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

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -