如何把True Type字体文件夹的资产在机器人工作室机器人、文件夹、字体、资产

2023-09-08 09:26:00 作者:江海不渡你

我有一个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