How to add more text styles into android project? -
as question. want change text font in textview image below.
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
Post a Comment