Add “subkeyboard” associated to key?

I’m trying to create a custom Android Keyboard, just trying to learn the process.

My question is, how can I achieve this effect from the usual keyboard in which I keep a key pressed and a list of more options will pop up?

E.g. when I click on "a", and keep pressing it, I would get a submenu that would show "á", "à", "ä", &c…

How can I do that? As of now I only have the basic xml layout:
<Key android:keyLabel = "a"/>

Any help is appreciated.

Sharing is caring!

Leave a Reply