【发布时间】:2014-12-05 23:09:57
【问题描述】:
我可以在安卓应用中使用glyphicons 吗? 如果是,怎么做?
【问题讨论】:
-
它们只是可以使用
ImageView显示的图像... -
您可以使用标志性字体(定义为矢量),例如 font awesome:fortawesome.github.io/Font-Awesome
-
@DerGolem 使用方便吗?能不能用xml声明,我只知道代码里怎么设置。
-
像这样:
android:text="This is an Android \uf17b"(您必须通过 Java 代码从资产中设置 TextView/Button/...字体)
标签: android glyphicons