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?
The xKeyboard is a keyboard extension in which you can add special symbols and words as you needs. There are lots of unicode characters and special symbols you can use. You could use the custom keyboard you build in word, PPT, Excel, notes and other text apps on iPhone or iPad.
you can add some action in keypad in android, use
android:imeOptions="actionDone"
There are so many likr Go, Done, Search and many... and perform action by using EditorActionListener
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With