Please tell me, is it possible to force the click on IME_ACTION_NONE for the EditText to work? Can someone tell me why it does not work?
edit_text.setOnEditorActionListener(new TextView.OnEditorActionListener() { public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { if (actionId == EditorInfo.IME_ACTION_NONE) { try { Toast.makeText(MainActivity.act_context, "test", Toast.LENGTH_SHORT).show(); } catch (Exception e) { e.printStackTrace(); } return true; } return false; } });