HITGIF / TextFieldBoxes

Material Design text field that comes in a box, based on (OLD) Google Material Design guidelines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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());