How to change the font in a TextView
, as default it\'s shown up as Arial? How to change it to Helvetica
?
STEP 1: add font file
For example, when font file will be helvetica_neue.ttf that will generates R.font.helvetica_neue
STEP 2: create font family
For example:
STEP 3: use it
In xml layouts:
Or add fonts to style:
For more examples you can follow documentation:
Working with fonts