In RecyclerView RelativeLayout outer layer can be put. If the list has not write edittext
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F5F5F5"
android:overScrollMode="never"
android:scrollbars="none"/>
</RelativeLayout>