Colleagues, implemented autocompletetextview, when I select the desired option - I click on the keyboard "ready" (daw), but the keyboard itself does not close.
How to make closing the keyboard possible?

    1 answer 1

    Programmatically hide the keyboard

    // butCalculate - это кнопка InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(butCalculate.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS); 

    An example taken from the keyboard and hardware buttons