Skip to content

hike2008/AndroidEmoji

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

AndroidEmoji

j.s 🇨🇳

AndroidEmoji

Features

  • API > 9
  • Support load emoji from file.
  • Support load emoji asynchronously.
  • Suppoet apple,google,twitter,emojione, Get source.
  • More thin.

Screen Record

XhsEmoticonsKeyboard

If you need a keyboard --> XhsEmoticonsKeyboard

Samples

You can download a sample APK

Gradle Dependency

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'
}

--

Simple

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

Thanks

Contact & Help

Please fell free to contact me if there is any problem when using the library.

About

AndroidEmoji

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%