How can I put a

2019-02-16 18:23发布

问题:

How can I do this? I'm pretty new to Java and Android and I have the problem described above. When I paste the emoji inside the xml file it shows a white square and another weird character which "copies" the next character.

Any idea on how to work this out?

回答1:

Try using this library - emoji-java
I know you want an XML way, and this is Java
It may help you

Example

String str = "An               
                            
标签: android utf