The part that controls this is in the LatinKeyboardView class
@Override protected boolean onLongPress(Key key) { if (key.codes[0] == Keyboard.KEYCODE_CANCEL) { getOnKeyboardActionListener().onKey(KEYCODE_OPTIONS, null); return true; } else { return super.onLongPress(key); } }
Part of your look is in else .
Now this calls super.onLongPress(key) , which is in the KeyboardView .
To configure an override of else with the appropriate code.
Here you will find the link
source share