Place cursor at the end of text in EditText

The Solution to Place cursor at the end of text in EditText is


Try this:

EditText et = (EditText)findViewById(R.id.inbox);
et.setSelection(et.getText().length());

~ Answered on 2011-07-08 12:07:48


Most Viewed Questions: