Last active
February 15, 2017 14:40
-
-
Save basarik/943ae7deb582df8376e12ed6979abc46 to your computer and use it in GitHub Desktop.
to hide keyboard, call the methody. You do not need any edittext
This file contains 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
//to hide keyboard, call the method | |
InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE); | |
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment