Trying to set the font programmatically.
My file is located in src/main/res/fonts/material_font.ttf
circleProgress.setTextTypeface(Typeface.createFromAsset(assets, "material_font.ttf" ))
and i've tried
circleProgress.setTextTypeface(Typeface.createFromAsset(assets, "fonts/material_font.ttf" ))
circleProgress.setTextTypeface(Typeface.createFromAsset(assets, "font/material_font.ttf" ))
circleProgress.setTextTypeface(Typeface.createFromAsset(applicationContext.assets, "fonts/material_font.ttf" ))
...
The error is:
Font asset not found MaterialIcons-Regular.ttf
What in the world am I doing wrong?