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

前端 未结 1 569
天涯浪人
天涯浪人 2020-12-21 10:09

I have a True type Fonts file which contains fonts of Rockwell.I need to put it in assets folder in android studio.But i am not able to put it.Can anyone tell how to do this

相关标签:
1条回答
  • 2020-12-21 10:17

    Just create assets directory under your main directory of your project (src/main/assets). copy and paste it in that folder and use it.
    these links maybe useful for complete information : gradle based projects


    pic

    0 讨论(0)
提交回复
热议问题