Before you jump with negative comments/votes, I will specify that I have read every question on `Stackoverflow regarding this topic, and have applied almost all the solutions, but still I have not succeeded applying it entirely.
So, I am asking this question, because almost all the answers I found are for like 4-5 years ago, and I was wondering if there are better solutions now.
I repeat my question: Is there a better way than those listed to override the whole font family in the whole app to only 1 font? (All the views used in the app)?
Thanks in advance!
Cheers!
The best way is still to put your
.ttf
or.otf
font file in the assets folder. Then derive a customTextView
class and fix its' font once and for all so that you don't have to callsetTypeface()
everywhere.That is all.