j.s 🇨🇳
AndroidEmoji
- API > 9
- Support load emoji from file.
- Support load emoji asynchronously.
- Suppoet apple,google,twitter,emojione, Get source.
- More thin.
If you need a keyboard --> XhsEmoticonsKeyboard
You can download a sample APK
Users of your library will need add the jitpack.io repository:
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}and:
dependencies {
// see branch/master
// without any emoji,just a lib to parse emoji, very thin.
// you have to get emoji source and load them from file or other by yourself. ->
// https://github.com/w446108264/AndroidEmoji/blob/master/AndroidEmoji/simple/assets/
compile 'com.github.w446108264:AndroidEmoji:1.3'
// see branch/withsource
// include some emoji sources
// compile 'com.github.w446108264:AndroidEmoji:1.3-withsource'
}--
// The frist, you should put some emoji images to your project.
// see demo!
Spannable spannable = EmojiDisplay.filterFromResource(tv_content.getContext(),
new SpannableStringBuilder(content),
EmojiDisplay.getFontHeight(tv_content),EmojiDisplay.HEAD_NAME, null);
tv_content.setText(spannable);Please fell free to contact me if there is any problem when using the library.
- email: shengjun8486@gmail.com





