Pregunta

First, the Emoji characters on Android look different then they are in iOS device. In Android, the Emoji characters are black and white, but in iOS, they look much better.

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

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

Thanks a lot.

WeChat:

WeChat

Facebook:

Facebook

¿Fue útil?

Solución 2

Finally I found out the method to replace the unicode character with corresponding Emoji image. Here is the github link of my library/sample project. Enjoy. :-)

https://github.com/IPL/iOSStyleEditText

Otros consejos

You need to download all Emoji images, keep it local in your application and replace the unicodes of smileys with Emoji images in your EditText/TextView.

This link shows one of the ways to add images inline with text in an EditText/TextView.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top