如何把True Type字体文件夹的资产在机器人工作室 [英] how to put True type font file in assets folder in android studio
本文介绍了如何把True Type字体文件夹的资产在机器人工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个True Type字体文件,其中包含Rockwell.I字体需要把它在安卓studio.But我不能够把资产目录it.Can谁能告诉如何做到这一点?
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?
推荐答案
刚下创建资产
目录中的主
你的项目目录中(src /主/资产)。复制并粘贴该文件夹中,并使用它。
这些链接的完整信息,可能有用:摇篮基础的项目
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
这篇关于如何把True Type字体文件夹的资产在机器人工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文