我使用在我的editText上禁用了softInput
public static void disableSoftInputFromAppearing(EditText editText) {
editText.setRawInputType(InputType.TYPE_CLASS_TEXT);
editText.setTextIsSelectable(true);
}
但现在我不知道如何启用它。启用softInput的功能将不胜感激。
我使用在我的editText上禁用了softInput
public static void disableSoftInputFromAppearing(EditText editText) {
editText.setRawInputType(InputType.TYPE_CLASS_TEXT);
editText.setTextIsSelectable(true);
}
但现在我不知道如何启用它。启用softInput的功能将不胜感激。
public void showSoftKeyboard(View view) {
if (view.requestFocus()) {
InputMethodManager imm = (InputMethodManager)
getSystemService(Context.INPUT_METHOD_SERVICE);
imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT);
}
}
从此_