如何滚动以上所有RecyclerView滚动型
我在滚动视图实现RecyclerView ahow为波纹管的代码,而不是滚动RecyclerView。
请给答案
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/horizontalScrollView"
android:layout_marginTop="10dp">
<RelativeLayout...
<android.support.v7.widget.RecyclerView
android:id="@+id/rvpouch"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:nestedScrollingEnabled="false"
android:layout_below="@+id/textView3">
</android.support.v7.widget.RecyclerView>
</RelativeLayout>
</ScrollView>
嵌套滚动查看是不是一个好主意。 –
尝试使用“ScrollView”里面使用“LinearLayout”和里面把你所有的“RecyclerView”.........可能是它的工作 –