This is a question about the Android keyboard emoji unicode.

Asked 2 years ago, Updated 2 years ago, 89 views

Hello, this is an Android development question.

You are currently creating an application related to your keyboard.

You are trying to add an emoji part to your default keyboard.

It doesn't work well even if it's being tested by using unicode only in the xml file.

http://apps.timwhitlock.info/emoji/tables/unicode#emoji-modal We worked on the above site by referring to the emoji unicode.

I put the xml sauce as below, but it doesn't display normally.

[Key android:keyLabel="\u1F601"]

It is an emoji called grinding face with smilling eyes.

[Key android:keyLabel="\u270A"]

The above source is an emoji called Raised Fist, which is working well.

It seems that there are some things that can and cannot be tested by referring to the unicode site.

Please give me some advice on how to implement emoji. (I wonder if it's using images.)

I'm still a beginner, so I'm asking you this question.

Please give us warm advice from masters.

That's it.

Thank you.

android emoji

2022-09-22 21:58

1 Answers

I think it's hard to find a clean solution for this kind of topic.

Marking an emoji with only hex codes seems likely to fail. Even if you can see it well on your device, there is always a possibility that the Unicode for the hex code will not be properly expressed on someone else's device. Not all fonts support emojis properly.

Even if you embed a font or include an image that fits the emoji to make it look good on the input device, it seems that it can be seen properly on the input device, but it can not be seen properly on the user's screen.


2022-09-22 21:58

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.