Reputation: 11
So I have a problem in my Application, and that is when I am overriding default mobile font in my app then it's working fine but when I apply a theme to my phone then my app's font family changes. Kindly find a solution to this problem.
Upvotes: 1
Views: 42
Reputation: 238
This can be done very easily.
AppTheme
, type <item name="fontFamily">@font/your_font</item>
Done! Comment if any problem [
Note: it will work on API 26+.
Upvotes: 1