質問

I don't know how to reveals some text including emoji character with TextView. Please suggest me how to convert the emoji character to image.

Thanks in advance

役に立ちましたか?

解決

you can try with the regular expression: "[\ue415\ue056\ue057]". visit following links also.

https://github.com/ohmrefresh/Emoji-TextView

https://github.com/sharakova/EmojiTextView

http://androidcodeexamples.blogspot.in/2011/08/how-to-add-smileyemojis-in-edittext.html

hope this helps you.

他のヒント

If you want to put some small emoji imaged along with your text use ImageSpan and SpannableStringBuilder classes.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top