Does smomeone know how I set the scrollbar position in an EditView programmatically.
I'm appending the text during special events but I want the EditView to 开发者_JAVA百科scroll down to the latest text added so it'll be visible. But default the scrollbar does not move automatically when appending text.
/ Henrik
Just call yourEditText.scrollBy(int x, int y) after you added text to your EditText. Maybe you have to test some values until you find the appropriate values
精彩评论