how to change font of app android studio code example
Example: change font programmatically android
Typeface typeface = ResourcesCompat.getFont(context, R.font.antonine); //your font heva to be save in the res/fonts folder
setTypeface(typeface);
Typeface typeface = ResourcesCompat.getFont(context, R.font.antonine); //your font heva to be save in the res/fonts folder
setTypeface(typeface);