有没有办法创建一个自定义Android键盘,其键盘可以键入一个完整的单词?或者每个按钮只限一个字符?
答案 0 :(得分:0)
您是否尝试使用KeyboardView?
http://developer.android.com/reference/android/inputmethodservice/KeyboardView.html
有些想法:
KeyboardView customKeyboard = new KeyboardView(context);
customKeyboard.setKeyboard(new Keyboard(this, R.xml.YourLayout));
customKeyboard.setOnKeyboardActionListener(new OnKeyboardActionListener() {
...
}