JoanZapata / android-iconify

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

i18n support problem #123

Closed guobosheng closed 8 years ago

guobosheng commented 8 years ago

Can I do something like this?

<IconTextView
    android:id="@+id/search"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/search_with_icon" />

Where <string name="search_with_icon">{fa-search} Search</string> and <string name="search_with_icon">{fa-search} 搜索</string>

JoanZapata commented 8 years ago

Yes. Since you opened an issue I guess you already tried and it didn't work. Have you properly registered the FontAwesomeModule in your Application ? (see readme)

guobosheng commented 8 years ago

My apologies, now it works very well. But, I'm sure I have properly registered the FontAwesomeModule in my Application. Strange, what did I miss?

JoanZapata commented 8 years ago

You tell me:

I'm closing for now, please reopen with details if you have this problem again.