I am working on a custom keyboard which has alot of popup characters on different words.
For ex : u -> ü
To define popup character we just write a simple property as below :
<Key android:codes="117" android:keyLabel="u" android:popupCharacters="ü" android:popupKeyboard="@xml/keyboard_popup_template"/>
And we get a popup character output as below :
For multiple popup characters on a single long press, I wrote code like this :
<Key android:codes="110" android:keyLabel="n" android:popupCharacters="ŋñ" android:popupKeyboard="@xml/keyboard_popup_template"/>
And got output as below :
It means that, popupCharacters property seperates each character we write in it. Now the problem is I want to merge two characters to indicate power value.
For ex : qʷ
So I wrote as below :
<Key android:codes="113" android:keyLabel="q" android:keyEdgeFlags="left" android:popupCharacters='qʷ' android:popupKeyboard="@xml/keyboard_popup_template"/>
But it obviously seperated both characters in popup.
How can I use it as one characrter without seperating it..??
Note : I have already tried using unicode and escaping characters but it does not work.