为什么我显示的是字符串,而不是图标呢
来源:3-3 基础框架可用性验证
慕后端0636578
2017-09-16
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.diabin.fastec.example.ExampleActivity">
<com.joanzapata.iconify.widget.IconTextView
android:id="@+id/icon_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="{fa-coffee}"
tools:ignore="HardcodedText" />
</android.support.v7.widget.LinearLayoutCompat>写回答
4回答
-
ImoocZhang
2017-10-14
http://www.bootcss.com/p/font-awesome/
00 -
慕粉4142398
2018-05-23
manifest里面注册了app吗?
00 -
小兰不再爱新一
2017-10-17
我也是一样的问题,没发现啥不同呀,但是还是只是显示字符串
00 -
傅猿猿
2017-09-17
你把下划线改成中划线,你要理解这个枚举类里面替换下划线的那段代码,先想想为什么这么写,然后就一目了然了
00
相似问题