JoanZapata / android-iconify

Android integration of multiple icon providers such as FontAwesome, Entypo, Typicons,...

Home Page:http://joanzapata.com/android-iconify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only Getting Text Displayed when Using Icon Widgets

applecrusher opened this issue · comments

I followed the instructions and have compiled the dependencies and I have my

Iconify
.with(new FontAwesomeModule())..

Now when I create an Icon Button with XML below I literally get a button with the text "I {fa-heart-o} to {fa-code} on {fa-android}" rather than any images. I feel like I am missing something obvious. Any help or pointing the the obvious would be appreciated.

 <com.joanzapata.iconify.widget.IconButton
        style="?android:attr/buttonStyleSmall"
        android:layout_height="match_parent"
        android:layout_width="0dp"
        android:text="I {fa-heart-o} to {fa-code} on {fa-android}"
        android:id="@+id/back_button"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_weight="1"/>

Got the same here on older devices (currenly looking into it)

hmm it suddenly worked but I can remember I recently added the correct icon packs

Iconify.with(FontAwesomeModule())
Iconify.with(MaterialModule())
Iconify.with(MaterialCommunityModule())