I'm making my own custom keyboard and I have a problem with adding emoji to it. As a android:keyIcon
I have a drawable of that emoji and I need android:codes
for it. I don't know what to output when emoji is pressed. I've looked online for a solution, but I haven't found anything. Does anyone know what code should I use to output an emoji. Thanks in advance.
Here is a part of the xml code:
<Row>
<Key android:codes="1F926" android:keyIcon="@drawable/e415" />
<Key android:codes="U+1F601" android:keyIcon="@drawable/e415" />
<Key android:codes="57430" android:keyIcon="@drawable/e0415" />
</Row>
When I click on first or second the output is empty and when I click on the second the output is some Chinese letter.