Reputation: 5111
I am using fonticons to set Icons on textview.
Typeface fontIcons = Typeface.createFromAsset(context.getAssets(), "fontIcons/fontawesome-webfont.ttf");
textview.setTypeface(fontIcons);
textview.setText("\uf26c");
http://fortawesome.github.io/Font-Awesome/icon/television/
If I am using this Unicode f26c
, it is coming like blank box and working fine for other unicodes
. Can you please tell me what can be the issue here?
Thank you so much in advanced.
Upvotes: 2
Views: 63
Reputation: 7065
The icon (television) you are using is added in the v4.4 of font awesome webfont.
Probably you are using older version of fontawesome-webfont.ttf in your application that does't contain the unicode icon.
Download the latest v4.5 fontawesome-webfont.ttf from here and replace your existing one.
Hopefully this will help.
Upvotes: 1