2013年8月17日星期六

[Android] Show Pro Emoji characters

 

 

 

 

 
   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);    
}   
 
 

 

 

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.

 

 

1 条评论: