소프트 키보드 닫 기

299 단어 자바android
val imm = activity.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
imm.hideSoftInputFromWindow((context as Activity).currentFocus?.windowToken, InputMethodManager.HIDE_NOT_ALWAYS)

kotlin 이 썼어 요.

좋은 웹페이지 즐겨찾기