Tapping on text field box puts the cursor before the text
raylee4204 opened this issue · comments
When text is already set into the text field box programmatically, tapping on it to give focus & open keyboard puts the text cursor before the text instead of at the end
Its default strategy EditText. Use:
editText1.setText("text");
editText1.setSelection(editText1.length());