Statement
welcome to reprint, but please keep the original source :)
blog Park: http://www.cnblogs.com
farmer uncle: http://over140.cnblogs.com
text
a, download AndroidEmoji.ttf font
Address 1: Github Android Platform
Address 2: AndroidEmoji.ttf.zip
Second, use
2.1 to copy the font assets / fonts directory
2.2 code calls
try {
Typeface typeFace = Typeface.createFromAsset (getResources (). getAssets (), "fonts / AndroidEmoji.ttf ");
title.setTypeface (typeFace);
} catch (Exception e) {
Logger.e (e);
}
Typeface typeFace = Typeface.createFromAsset (getResources (). getAssets (), "fonts / AndroidEmoji.ttf ");
title.setTypeface (typeFace);
} catch (Exception e) {
Logger.e (e);
}
three, the effect
four, Dema West Daily News
Google Play: https://play.google.com/store/ apps / details? id = com.nmbb.lol
pea pod: www.wandoujia.com / apps / com.nmbb.lol
End
Although the effect a bit different and the iPhone, is finally able to be displayed. In addition millet seems supported by default.
Hard to say what causes the problem.
回复删除