Created
January 7, 2016 21:39
-
-
Save kuraydev/35bb27c8f2b21220c903 to your computer and use it in GitHub Desktop.
Prevent & Close pop-keyboard immediately
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Preventing & Closing Pop-Keyboard Immediately | |
| InputMethodManager inputManager = (InputMethodManager) | |
| getSystemService(Context.INPUT_METHOD_SERVICE); | |
| inputManager.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), | |
| InputMethodManager.HIDE_NOT_ALWAYS); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment