Remove RecyclerView scroll effects

Solution 1:

Add this to your layout:

android:overScrollMode="never"

So:

<android.support.v7.widget.RecyclerView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:overScrollMode="never"
    android:background="#FFFFFF"
    android:scrollbars="vertical" />

Solution 2:

And in Java you would do

recyclerView.setOverScrollMode(View.OVER_SCROLL_NEVER)

or in Kotlin

recyclerView.overScrollMode = View.OVER_SCROLL_NEVER