I Have a Custom View which draws text onto the Canvas. I want to change the font to a font stored in the assets folder.
Canvas
font
I
You have to place your assets folder inside "Project" folder and not in the "src" folder. You have placed your font in the "src/main/assets/robotobold.ttf" that's why it is not working. You need to place it like this "/assets/robotobold.ttf".