Show cursor at particular position on Edittext android -


i developing application in using multi-line edittext width , height both match_parent takes whole screen size. if user clicks or touches on particular position of edittext, cursor should visible @ particular position , user can start typing particular position.

i had search google , developers.android type of property in edittext class didn't find it.

you can use edittext1.setselection(index) position caret specific position want be.

the index position want place caret based of character array of string.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -