Answers for "how to use font in android"

1

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);
Posted by: Guest on April-22-2021

Code answers related to "how to use font in android"

Browse Popular Code Answers by Language