I'm trying to create an animation in order to scroll automatically in my scrollview.
LinearLayout linearLayout = (LinearLayout) scrollView.getChildAt(0);
// linearLayout.getHeight() == 540
animScroll = ObjectAnimator.ofInt(scrollView, "scrollY", linearLayout.getHeight());
// animationDurationLong == 154000
"scrollY" is probably wrong (the last param of
ofInt), you need something like this:
height_of_content - height_of_container