You have a big work around about how to do this - which is create your own keyboard, and to do this you'll have to know the keyboards you're looking for. (which will be exact duplicate of the regular keyboard)
Here you can get some samples here & code samples.
How to make an Android custom keyboard?
Follow this link for making a custom keyboard And Finally
EditText editText = (EditText) findViewById(R.id.editText);
MyKeyboard keyboard = (MyKeyboard) findViewById(R.id.keyboard);
// prevent system keyboard from appearing when EditText is tapped
editText.setRawInputType(InputType.TYPE_CLASS_TEXT);
editText.setTextIsSelectable(true);
// pass the InputConnection from the EditText to the keyboard
InputConnection ic = editText.onCreateInputConnection(new EditorInfo());
keyboard.setInputConnection(ic);