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

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -