android emoji框架,GitHub - GameFilebyOpenSourse/AndroidEmoji: AndroidEmoji

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

43f690a215098075963c2bcad1988f93.png

emoji_system.png

emoji_apple.png

emoji_google.png

emoji_twitter.png

emoji_emojione.png

XhsEmoticonsKeyboard

If you need a keyboard --> XhsEmoticonsKeyboard

b5db24f8f142ca6bb1dfd0f6356e4fd7.png

bd4b34c58e13d6961b338d4fded4c431.png

16757f66354ae56cbf528f71dfac4a32.png

3a5eec2f992c6a8ddaa49ba30137e5b3.png

431c07ff45291b8d785b943e2444eb4b.png

a0c61610a00adc13982d202b4e8fa80b.png

3d2de0c07a5dedb44f9f0698b310756b.png

9cf149a30e86d0a5d15fe23be93f54c6.png

Samples

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值