{"id":13398747,"url":"https://github.com/rockerhieu/emojicon","last_synced_at":"2025-05-14T15:07:11.866Z","repository":{"id":13338007,"uuid":"16025084","full_name":"rockerhieu/emojicon","owner":"rockerhieu","description":"A library to show emoji in TextView, EditText (like WhatsApp) for Android","archived":false,"fork":false,"pushed_at":"2020-06-13T00:51:58.000Z","size":9713,"stargazers_count":3610,"open_issues_count":83,"forks_count":817,"subscribers_count":163,"default_branch":"master","last_synced_at":"2025-04-20T15:59:18.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rockerhieu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-18T12:32:38.000Z","updated_at":"2025-04-11T08:24:46.000Z","dependencies_parsed_at":"2022-06-26T02:29:12.775Z","dependency_job_id":null,"html_url":"https://github.com/rockerhieu/emojicon","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockerhieu%2Femojicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockerhieu%2Femojicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockerhieu%2Femojicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockerhieu%2Femojicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rockerhieu","download_url":"https://codeload.github.com/rockerhieu/emojicon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254169473,"owners_count":22026212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:00:31.338Z","updated_at":"2025-05-14T15:07:11.819Z","avatar_url":"https://github.com/rockerhieu.png","language":"Java","funding_links":[],"categories":["Podcast","Java","Emoji","Libraries","Libs","Uncategorized","库"],"sub_categories":["GUI","\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget","Uncategorized","[](https://github.com/JStumpp/awesome-android/blob/master/readme.md#inputs)输入"],"readme":"# Discontinued\nThis projected is discontinued. Please consider using other alternative, i.e EmojiCompat.\n\nContact me if you want to continue working on another forked repository so I can promote it here. Cheers!\n\n[![Android Gems](http://www.android-gems.com/badge/rockerhieu/emojicon.svg?branch=master)](http://www.android-gems.com/lib/rockerhieu/emojicon)\n\n[![CircleCI](https://circleci.com/gh/rockerhieu/emojicon.svg?style=svg\u0026circle-token=3360549339f6271f6db44c24e23339ba75c054f4)](https://circleci.com/gh/rockerhieu/emojicon)\n![emojicon on Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.rockerhieu/emojicon/badge.svg)\n\n## Emojicon\n\nDo you like emojis in Whatsapp, iMessage? [Emojicon](http://rockerhieu.github.io/emojicon/) is a library to implement such a thing for Android.\n\n## Example\n\n### emojiconize\n\n```java\nimport io.github.rockerhieu.emojiconize.Emojiconize;\n\n// Your activity must be a subclass of AppCompatActivity\npublic class MainActivity extends AppCompatActivity {\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        // Emojiconize the whole activity, must call before `super.onCreate()`\n        Emojiconize.activity(this).go();\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_main);\n    }\n}\n```\nMore information: [rockerhieu/emojiconize](https://github.com/rockerhieu/emojiconize)\n\n### emojicon\n\n```xml\n\u003cLinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n              xmlns:emojicon=\"http://schemas.android.com/apk/res-auto\"\n              android:layout_width=\"match_parent\"\n              android:layout_height=\"match_parent\"\n              android:orientation=\"vertical\"\u003e\n\n    \u003cio.github.rockerhieu.emojicon.EmojiconTextView\n            android:id=\"@+id/txtEmojicon\"\n            android:text=\"I \\ue32d emojicon\"\n            emojicon:emojiconAlignment=\"baseline\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"/\u003e\n\n    \u003cio.github.rockerhieu.emojicon.EmojiconEditText\n            android:id=\"@+id/editEmojicon\"\n            android:text=\"I \\ue32d emojicon\"\n            emojicon:emojiconSize=\"28sp\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"/\u003e\n    \u003cfragment\n            android:id=\"@+id/emojicons\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"220dp\"\n            class=\"io.github.rockerhieu.emojicon.EmojiconsFragment\"/\u003e\n\u003c/LinearLayout\u003e\n```\n\n![image](https://github.com/rockerhieu/emojicon/raw/master/images/sample.jpg)\n\n_Note: You can change the size and alignment of emojis in XML layout through attribute `emojiconSize` and `emojiconAlignment`, respectively._\n\n## Usage\n\n* `EmojiconTextView`: a `TextView` which can render emojis.\n* `EmojiconEditText`: a `EditText` which can render emojis.\n* `EmojiconMultiAutoCompleteTextView`: a `MultiAutoCompleteTextView` which can render emojis.\n* `EmojiconGridFragment`: a fragment contains emojis in a `GridView` for the user to choose.\n* `EmojiconsFragment`: a fragment contains many set of emojis for the user to choose.\n\n## Building in IntelliJ\n\nVia Gradle:\n\n```\ncompile 'io.github.rockerhieu:emojicon:\u003clatest-version\u003e'\n```\n\n## Building in Eclipse\n\n![Go home you're drunk](http://img2.wikia.nocookie.net/__cb20130819142928/cardfight/images/thumb/5/55/Go-home-youre-drunk.jpg/500px-Go-home-youre-drunk.jpg)\n\n## Acknowledgements\n\nEmojicon is using emojis graphics from [emoji-cheat-sheet.com](https://github.com/arvida/emoji-cheat-sheet.com/tree/master/public/graphics/emojis).\n\n## Contributing\n\nPlease fork this repository and contribute back using\n[pull requests](https://github.com/rockerhieu/emojicon/pulls).\n\nAny contributions, large or small, major features, bug fixes, additional\nlanguage translations, unit/integration tests are welcomed and appreciated\nbut will be thoroughly reviewed and discussed.\n\n## License\n\n* [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\n```\nCopyright 2014 Hieu Rocker\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockerhieu%2Femojicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frockerhieu%2Femojicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockerhieu%2Femojicon/lists"}