I try to make a chat application for android. Here, I want to show emotion icon in android Text View.
I want to show Emotion Icon like this.
I found one project in github :: https://github.com/sharakova/EmojiTextView . Here is image in drawable but i do not use image. i want to use Unicode chars. So, How can show Emotion icon via Unicode chars.
Some one tell to use Spannable Text but it make my application slow. when use many Emotion icon in chat.
So, Here any way to show Emotion icon in android Text-view?.
Thanks.
1) find UTF-8 character for your emotion For example smile http://www.fileformat.info/info/unicode/char/263a/index.htm
2) insert in to text value of "C/C++/Java source code" field regarding to link above for smile it is "\☺"
您可以使用此库中的EmojiconTextView或EmojiconEditText: https : //github.com/rockerhieu/emojicon
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.