editext.setOnFocusChangeListener(new View.OnFocusChangeListener() { @Override public void onFocusChange(View view, boolean b) { if (b) { if (small_key_board.getVisibility() == View.GONE) { small_key_board.setVisibility(View.VISIBLE); } } 获取焦点
editext.clearFocus(); 清除焦点