Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LinearInterpolator scrollInterpolator = new LinearInterpolator();
- Scroller scroller = new Scroller(this,scrollInterpolator);
- scroller.extendDuration(10000);//I thought this was 10 seconds
- text1.setScroller(scroller);
- scrollView.post(new Runnable() {
- @RequiresApi(api = Build.VERSION_CODES.HONEYCOMB)
- @Override
- public void run() {
- scrollView.fullScroll(ScrollView.FOCUS_DOWN);
- }
- });
Add Comment
Please, Sign In to add comment