问题描述
我刚刚从下载了示例,但是所有字体图标都是不显示。
I just downloaded the sample from Android-Bootstrap, But all the fonts Icons are not displaying.
我刚刚下载了最新版本,但仍然遇到相同的问题。 (我尝试运行示例项目)也有同样的问题。
I just downloaded the latest version, and still I am having the same problem. (I tried to run the sample project) also same issue.
有人有这个问题吗?还是有人知道如何解决这个问题?
Is anyone have this issue ? or does anyone knows how to came around ?
推荐答案
文件下载并复制到app / src / main / assets。在应用程序的OnCreate事件中,添加以下代码。
TypefaceProvider.registerDefaultIconSets();
fontawesome-webfont.ttf file download and copy to app/src/main/assets. In the OnCreate event of the application, add the following code. TypefaceProvider.registerDefaultIconSets();
这篇关于Android Bootstrap by Bearded-Hen Icons字体未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!