Tab Key on Android Hard Keyboard

1.3k Views Asked by At

How can I disable a tab key on a form so that it goes to the next button when press.

This is a hardware Tab key on a qwerty hardware keyboard.

1

There are 1 best solutions below

0
On

You should implement the protected boolean onKeyDown(int keyCode, KeyEvent event) {}, check for the keyCode and if the key is tab, then consume the event.

Hope this helps!