I am building a softkeyboard based on the android softkeyboard sample code, and i don't want to show a popup every time a key is longpressed. Like Below
Is there anyone who can tell me where i can find this in the softkeyboard samplecode, or how to disable it.
here is a link to the samplecode https://android.googlesource.com/platform/development/+/master/samples/SoftKeyboard?autodive=0%2F
Thanks!!
the answer is rater simple, after looking around in the keyboardview.java file i found the setPreviewEnabled function. in the latinkeybaordview add setpreviewenabled(false) to the latinkeyboardview fucnction like this.
public LatinKeyboardView(Context context, AttributeSet attrs) {
super(context, attrs);
setPreviewEnabled(false);
}