I want to hide soft keyboard after AlertDialog dismiss, but it\'s still visible. Here is my code:
alert = new AlertDialo
in case anyone looks for this in kotlin, it would be:
private fun hideDeviceKeyboard() { val imm = context!!.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager imm.toggleSoftInput(InputMethodManager.HIDE_IMPLICIT_ONLY, 0) }