I want to remove focus and text from SearchView in onResume().
SearchView
onResume()
I tried searchView.clearFocus() but it is not working.
searchView.clearFocus()
Thi
Write this code in onResume()
searchView.setText(""); this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);