每次我插上键盘或扫描仪时,当EditText处于焦点时,软键盘不再显示。
我已经尝试强制软键盘始终使用inputManager显示,但它仅在物理键盘拔出时才有效。
inputManager = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
inputManager.showSoftInputFromInputMethod(textView.getWindowToken(),InputMethodManager.SHOW_FORCED);
我正在使用API 12 - Android 3.1。
我还无法找到如何显示用户可以手动关闭物理键盘的窗口弹出窗口。
感谢任何帮助。