I have an activity that have viewpager inside scrollview like the follwoing
<ScrollView android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <!--someViews--> </LinearLayout> <!--then viewPager--> <androidx.viewpager.widget.ViewPager android:layout_width="match_parent" android:layout_height="match_parent" /> </LinearLayout> </ScrollView> Then the view pager holds some fragments which have a tall view too. The problem is the scroll view not scrolling because of the view is not need to scroll but the view inside the viewpager fragment's not scrolling so, Is it possible to make the whole view including the inside view pager scroll as one view? What I am saying that I don't need to scroll the viewpager fragment as separated part I need to scroll it as part of activity view.
Thanks