I'm trying to create a custom popup keyboard for alternative keys in android. By using the default keyboard only customization I can do is to provide a custom layout for pop keyboard.
I need customize the behaviour as well (Like the one in the Gboard) Such as,
(1) when a button is long pressed, by default it should highlight an specific key
(2) Keys can be highlighted and also selected by moving the finger(long press the key and move the finger same time)
These are the links I referenced:
Building a custom android keyboard
Creating a SoftKeyboard with Multiple/Alternate characters per key
How do you disable the SoftKeyboard key preview window?
This is the popup keyboard in Gboard
Any suggestions/help would be appreciated.
Thank you.