This is just a back button. You can simply do this by overriding its behavior using:
InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); mgr.hideSoftInputFromWindow(editText.getWindowToken(), 0);
and:
@Override boolean onKeyDown(int keyCode, KeyEvent event) {
Teovald
source share