I have enter values in Edittext and click on submit button but the keyboard still open.
When I submit anything it should disappear from the screen. How can we handle it from Programming?
- 1 years ago
View view = this.getCurrentFocus(); InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(view.getWindowToken(), 0);