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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -