JoanZapata / android-iconify

Android integration of multiple icon providers such as FontAwesome, Entypo, Typicons,...
http://joanzapata.com/android-iconify
Other
3.93k stars 525 forks source link

Only Getting Text Displayed when Using Icon Widgets #178

Open applecrusher opened 8 years ago

applecrusher commented 8 years ago

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"/>
spidfire commented 8 years ago

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

spidfire commented 8 years ago

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

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