Place cursor at the end of text in EditText

Try this:

UPDATE:

Kotlin:

editText.setSelection(editText.length())//placing cursor at the end of the text

Java:

editText.setSelection(editText.getText().length());

Leave a Comment