I applied a custom font to a TextView
, but it doesn\'t seems to change the typeface.
Here is my code:
Typeface myTypeface = Typeface
Well, after seven years you can change whole app textView
or what you want easily by using android.support
libraries 26++.
E.g:
Create your font package app/src/res/font and move your font into it.
And in your app theme just add it as a fontFamily:
Example for use with textView
only:
And add into your main theme:
- @style/fontTextView
Currently it's worked on 8.1 until 4.1 API Jelly Bean And that's a wide range.