set height of scrollview programmatically android code example
Example 1: scrollview scroll programmatically android
nestedScrollView.fullScroll(View.FOCUS_UP);
nestedScrollView.smoothScrollTo(0,0);
Example 2: scrollview scroll programmatically android
NestedScrollView.scrollTo(0, 0);