Android Set Cursor End of EditText

July 24, 2018

If you happen to setText and wanted to cursor to appear at the end

editText.append(text)

If text is already set earlier, and you just want to set cursor at the end

editText.setSelection(text.length)
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.