how to hide keyboard after typing in EditText in android?

I have a TextView and button aligned to parent’s bottom.

When I enter text in it and press the button to save data, the virtual keyboard does not disappear.

Can any one guide me how to hide the keyboard?

how to hide keyboard after typing in EditText in android?