custom-keyword

Android Custom keyboard

只愿长相守 提交于 2019-12-19 11:26:47
问题 I creating custom keyboard using this link "http://www.fampennings.nl/maarten/android/09keyboard/index.htm" but i want to include so many word into this keyboard,above link keyboard looks like follwing : i have three xml file : 1) hexkbd : have A to N 2) hexkbd2 : M to Z 3) hexkbd3) extra word, i display first xml file well, but i want to put one extra button into this keyboard to change above all three xml to change keyboard a to n to m to z, but i dont know how to do this in this custom

input connection-how to delete selected text?

纵饮孤独 提交于 2019-12-07 11:37:40
问题 I made a custom keyboard for android. When I press backspace button of my keyboard I use getCurrentInputConnection().deleteSurroundingText(1, 0); to delete one letter from the input field. But when I select some text and then press the backspace button, the selected text is not deleted. What method in input connection should I use so that selected text is also deleted from my keyboard when I press the backspace button? 回答1: Call getCurrentInputConnection().commitText("",1); 回答2: When deleting

Android Custom keyboard

廉价感情. 提交于 2019-12-01 13:44:58
I creating custom keyboard using this link " http://www.fampennings.nl/maarten/android/09keyboard/index.htm " but i want to include so many word into this keyboard,above link keyboard looks like follwing : i have three xml file : 1) hexkbd : have A to N 2) hexkbd2 : M to Z 3) hexkbd3) extra word, i display first xml file well, but i want to put one extra button into this keyboard to change above all three xml to change keyboard a to n to m to z, but i dont know how to do this in this custom keyboard.for example in above image i put number in another xm file,alphabet in another xml file, and