nekocode/Emojix
关于
在 Android 上实现 iOS 风格的表情符号。
网站与应用开发实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Emojix
This library adds apple style emojis on your android application in the easiest way. Unlike emojicon, this library is non-invasive. Only need to add a little code to your project.
This library will increase your apk size about 5 MB, because it contains all emoji icon files.
Preview

Using with gradle
- Add the JitPack repository to your root build.gradle:
repositories {
maven { url "https://jitpack.io" }
}
- Add the dependency to your sub build.gradle:
dependencies {
compile 'com.github.nekocode:Emojix:{lastest-version}'
}
Usage
Just wrap the Activity Context, it will let all the TextViews (or other views inherit from TextView) replace the emoji characters with apple style icons:
@Override
protected void attachBaseContext(Context newBase) {
super.attachBaseContext(Emojix.wrap(newBase));
}
Now, everything is OK! Anyway, for implementing emoji to the whole application you can add these code to your BaseActivity.
Note that if it is not working with any views, you can wrap them manually:
Emojix.wrapView(view);
Thanks
Thanks to the emojicon and Calligraphy projects. This project is based on their contributions.
探索相关项目
加载中…