How to hide/show android soft keyboard in activity

Hello Everybody,

To hide the keyboard:

To show the keyboard:

myEditText – your EditText for text input.
Happy coding! (: