android - Setting input type in EditTextView programmatically makes the cursor go back to the start of EditTextView -
when user typed # in edittextview set input type inputtype.type_text_variation_visible_password. doing effect cursor going start of edittextview.
you should able add following after setting input type
edittext.setselection(edittext.gettext().length());
i know it's not ideal i'm pretty sure it's way behavior want.
Comments
Post a Comment