ScrollToCaret in EditText

Tikehan

Member
Licensed User
Longtime User
I am looking for a solution to simulate the ScrollToCaret properties present in windows mobile. My aim is to display a large text in an EditText starting from a string of the text in which I have previously placed the cursor.

Thanks to all
 

Tikehan

Member
Licensed User
Longtime User
Have you tried setting the SelectionStart property. If I remember correctly it should scroll the EditText.

Hi Erel

it partially works. In fact, the text at the cursor position is shown at the end of the window instead of at the beginning. the only way I've found is to cut the text before the cursor, but it is a solution that I wanted to avoid
 
Upvote 0
Top