Here is my code and screenshot I\'m trying to set custom font typeface but Runtime exception occurs font asset not found while font file is in asset folder. Am I missing som
I have looked into all the answer but none of them worked for me. I found a new solution after reading the documentation. Here are the steps to follow:
Use in your code using Typeface attribute.
Typeface type = Typeface.createFromAsset(getAssets(), "myfont.ttf"); textView.setTypeface(type);
Now, you are all set to use the fonts you like.