版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/bobby_fu/article/details/82996672
RecyclerView在拉到最顶部和最底部的时候会出现一个阴影的效果,包括右侧也会有一个滚动条,如果想要去除可以设置如下属性。
<android.support.v7.widget.RecyclerView
android:id="@+id/setting_recycler_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="never"
android:scrollbars="none"/>