+ 2
Android Custom Keyboard
Hi, I want to make a keyboard for some reason. I just want to know, is anyway to use more than one key codes for a symbol? Like I want to add a key named 'h' which types "hello". <Key android:codes="104 101 108 108 111" android:keyLabel="h" /> I know if I put a comma in middle key codes that comes as an option for keys like (h/e/l/l/o). I want to type whole word in a key press. If anyone knows, help me. Reference: https://github.com/tutsplus/Android-CustomKeyboard I just edited qwerty.xml
1 Resposta
+ 1
Just added a new case in switch file with a new code(say 900 in my case) to enter hello. Found help on stackflow.com