Reputation: 777
I have put textview in scrollview it's working fine. I want to do that if user should not to scroll textview, inspite of textview should pro-grammatically scroll to the last line.
does is possible? How?
Upvotes: 0
Views: 185
Reputation: 11544
You can actually let your scrollView to scroll to the bottom. In that way whenever that event gets triggered automatically your ScrollView will scroll and cursor will be at las line.
You can use getScrollView().fullScroll(ScrollView.FOCUS_DOWN);
which you can actually spawn as a new thread and run.
Upvotes: 1