I create a custom keyboard, it works fine with all keys.
But instead of the whole key, I want to add a custom view similar to a GIF keyboard.
The custom view contains a scrollview with buttons, as shown below.

------- For keyboard with ---- key
@Override public View onCreateInputView() { kv = (KeyboardView)getLayoutInflater().inflate(R.layout.keyboard, null); keyboard = new Keyboard(this, R.xml.qwerty); kv.setKeyboard(keyboard); kv.setOnKeyboardActionListener(this); return kv; }
android keyboard
Satish kutikuppala
source share