done

  1. Home
  2. chevron_right
  3. done

Detect when Done key is pressed

Tutorial
If you want to detect when a key from soft keyboard is pressed, like Done key, you can use the following code: mEditText = (EditText)findViewById(R.id.edit); mEditText.setOnEditorActionListener(new TextView.OnEditorActionListener() { @Override public…