Skip to content
프로젝트

소개

Android에서 iOS 스타일 이모지를 구현합니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
-1
in 7 days
-1
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Emojix

Apache 2.0 License Release

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

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.

관련 프로젝트 살펴보기

불러오는 중…