How to put True type font file in assets folder in android studio

I have a True Type font file that contains Rockwell fonts. I need to put it in assets folder in android studio. But I can't fit it. Can anyone tell me how to do this?

+3


source to share


1 answer


Just create a directory assets

in main

your project directory (src / main / assets). copy and paste it into that folder and use it.
these links might be helpful for full details: gradle based projects




pic

+5


source







All Articles