Skip to content
Projets

À propos

Implémentation d’émojis au style d’iOS sur Android.

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
-1
in 7 days
-1
in 15 days
-1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

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.

Explorer des projets similaires

Chargement…