android editetext弹出软件盘
2021-11-24 本文已影响0人
hao_developer
etSearch.isFocusable = true
etSearch.isFocusableInTouchMode = true
etSearch.requestFocus()
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
etSearch.isFocusable = true
etSearch.isFocusableInTouchMode = true
etSearch.requestFocus()
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)