How to show iOS style Emoji characters in Android EditText?

First, Emoji characters on Android look different than on an iOS device. On Android, Emoji characters are black and white, but on iOS they look much better.

Some input methods support Emoji character input directly on Android devices. For this type of Facebook input method, if I find the Emoji character, then the character is still displayed as the one in Android. But on WeChat, the Emoji symbol looks the same as iOS.

So my question is: how to implement the same function as WeChat? See below two snapshots, the first is WeChat, then the second is Facebook.

Many thanks.

WeChat:

Wechat

Facebook:

Facebook

+4
source share
2 answers

Finally, I learned how to replace the Unicode character with the corresponding Emoji image. Here is the gythub link of my library / sample project. Enjoy.:-)

https://github.com/IPL/iOSStyleEditText

+1
source

You need to download all Emoji images, save it locally in your application and replace Unicode emoticons with Emoji images in your EditText / TextView.

This link shows one way to add images with text in EditText / TextView.

+1
source

Source: https://habr.com/ru/post/1500673/


All Articles