<分区>
我不知道如何用 TextView 显示一些文本,包括表情符号字符。请建议我如何将表情符号字符转换为图像。
提前致谢
<分区>
我不知道如何用 TextView 显示一些文本,包括表情符号字符。请建议我如何将表情符号字符转换为图像。
提前致谢
最佳答案
您可以尝试使用正则表达式:“[\ue415\ue056\ue057]”。 也请访问以下链接。
https://github.com/ohmrefresh/Emoji-TextView
https://github.com/sharakova/EmojiTextView
http://androidcodeexamples.blogspot.in/2011/08/how-to-add-smileyemojis-in-edittext.html
希望对你有帮助。
关于android - 使用 TextView 显示表情符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16690168/