I\'m making an app with edittext and a button. When I enter something into edittext and then click a button, I want the keyboard and focus on edittext to disappear but I can\'t
another solution is, create a dummy layout
and set the focus in your onButtonClickFunction
onButtonClickFunction
((LinearLayout) findViewById(R.id.dummy_id)).requestFocus();