How to disable "Next" button on a EditText software keyboard (replace with "Done" button)

Solution 1:

Try adding android:imeOptions="actionDone" to your EditText.

Reference

Solution 2:

This can also be accomplished in code with:

myEditText.setImeOptions(EditorInfo.IME_ACTION_DONE);