keyboardViewManager = KeyboardViewManager
.builder()
.bindEditText(edit1, edit2, edit3)//需要使用自定义键盘的控件
.showSystemKeyboard(edit4)//使用系统键盘
.bindEditTextCallBack(edit1, new KeyboardViewManager.onSureClickListener() {
@Override
public void onSureClick() {
}
})//自定义键盘回调监听
.bindEditTextCallBack(edit2, new KeyboardViewManager.onSureClickListener() {
@Override
public void onSureClick() {
}
})//自定义键盘回调监听
.build(this)
.addKeyboardView(rootView);//键盘挂载的跟布局