I’m trying to use fonts in my project using Typeface. I copied the "font.ttf" into a folder named “fonts” inside “assets” folder. But eclipse do not allow to compile it. It shows an error on fonts folder. What should I do?
The error I get is:
invalid resource directory name fonts /NoRats/assets line 1 Android AAPT Problem
Please check this link, it may be helpful to you.
OR
use below code.
.ttf file is in –> assets/fonts/LATINWD.TTF
Please first clean your project then check again.
Happy Coding.