I am developing Android soft keyboard:
public class CustomKeyboard extends Keyboard{...}
public class CustomKeyboardView extends KeyboardView{...}
pu
I think you will need to create your own popup in this case, using PopupWindow or Dialog.
then you go into your keyboard and overwrite your onRelease method, like this:
@Override
public void onRelease(int primaryCode) {
myPopupWindow.dismiss();
}
To make your own popupWindow for keyboard see this thread: Android custom keyboard popup keyboard on long press