// SHOW KEYBOARD
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,0);
// HIDE KEYBOARD
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(view.getWindowToken(),0);
OR
// HIDE KEYBOARD
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(InputMethodManager.HIDE_NOT_ALWAYS,0);
1 comment:
n7b38z9q09 o1f61k6n17 k7n40m9s90 c5e02p1u44 v1g35t9y87 a0f55i3o30
Post a Comment