In xml file i do next:
<Row>
<Key android:codes="FLAG_EDITOR_ACTION" android:keyLabel="Start" />
</Row>
In class Keyboard in the method onKeyDown i create next construction
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
switch (keyCode) {
case KeyEvent.FLAG_EDITOR_ACTION: {
return true;
}
...
but is dont work. What’s wrong?
you can add some action in keypad in android, use
There are so many likr Go, Done, Search and many… and perform action by using EditorActionListener