Saurabh Verma Saurabh Verma - 5 months ago 44
Android Question

Automatic Scroll in EditText

I'm using an EditText in which the text is filled programaticaly, when users performs some action (consider this like a chat window).
Now when the text has filled the complete window, a scrollbar appears, but the user has to manually scroll it to see the latest chat (at the bottom).
Would it be possible to scroll it automatically to the latest chat ?
PS: I'm using an EditText and not a ScrollView

Answer

You can do this

android:ellipsize="end"

Comments