0

In Android, how to stack ScrollView and recycler view (or any other view that extends scroll view) on top of each other, like combine them together, one on the top of the other, act like all the content are within the same scroll view? I have tried

<Linear>  
   <ScrollView></ScrollView>  
   <recycler></recycler>  
</Linear>  

or one inside of the other, none of them works

Derek Zhu
  • 173
  • 1
  • 11
  • You can try to use http://developer.android.com/reference/android/support/v4/widget/NestedScrollView.html. If use scrollView or recyclerview like above, I think you have to set a fixed size to them – justHooman Jul 17 '15 at 09:42

1 Answers1

0

At first use recyclerView inside ScrollView or any scrollable make you to trouble but you can handle it.

you can find your answer hear I think.

Community
  • 1
  • 1
Ashkan
  • 1,122
  • 3
  • 12
  • 36