i have a layout
with scrollView
, the scrollView
area is to be populated frequently with some text. what I want to do it, to make the scrollView
scrolls automatically the last added message/text.
I have checked Android dev
and i am not sure whther or not :scrollbarStyle
is the correct property. kindly help regarding this issue.
Try this:
scrollView.post(new Runnable() {
@Override
public void run() {
scrollView.fullScroll(View.FOCUS_DOWN);
}
});
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments