post entire thing what you have tried so far.
your xml should be ,
<android.support.v4.widget.NestedScrollView android:id="@+id/nestedScrollView" android:layout_width="match_parent" android:layout_height="match_parent" android:overScrollMode="never">
<android.support.v4.widget.NestedScrollView android:id="@+id/nestedScrollView" android:layout_width="match_parent" android:layout_height="match_parent" android:overScrollMode="never"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <View > <!-- upper content --> <!-- set recycler view with with wrap_content --> <android.support.v7.widget.RecyclerView android:id="@+id/recyclerView" android:layout_width="match_parent" android:layout_height="wrap_content" /> </LinearLayout> </android.support.v4.widget.NestedScrollView> set scrolling behaviour inside onCreateView() / onCreate() method. requires Api 21+ .
RecyclerView v = (RecyclerView) findViewById(...); v.setNestedScrollingEnabled(false); or android:nestedScrollingEnabled="false" // inside recycler view in xml file