emojiconize

by rockerhieu

rockerhieu / emojiconize

Render emoji (using emojicon) in your Android application with just 1 line of code.

129 Stars 18 Forks Last release: about 4 years ago (v1.0.0) MIT License 6 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

CircleCI emojicon on Maven Central

Emojiconize

Render emoji (using emojicon) in your Android application with just 1 line of code.

Example

import io.github.rockerhieu.emojiconize.Emojiconize;

// Your activity must be a subclass of AppCompatActivity public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
    // Emojiconize the whole activity, must call before `super.onCreate()`
    Emojiconize.activity(this).go();
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
}

}

image

Usage

  • Emojiconize.activity(activity).go()
    : support emoji rendering for the given
    activity
    , must call before
    activity.super.onCreate()
  • Emojiconize.view(view).go()
    : support emoji rendering for the given view and all of its children.

Building in IntelliJ

Via Gradle:

compile 'io.github.rockerhieu:emojiconize:'

Building in Eclipse

Go home you're drunk

Acknowledgements

Emojiconize uses emojicon for rendering emoji and is based on the idea of

MdLayoutInflaterFactory
from android-md-core.

Contributing

Please fork this repository and contribute back using pull requests.

Any contributions, large or small, major features, bug fixes, additional language translations, unit/integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed.

License

Copyright (c) 2016 Hieu Rocker

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.