<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
<!-- 滚动条的宽度-->
android:scrollbarSize="3dp"
<!-- 滚动条是垂直方向 -->
android:scrollbars="vertical"
<!-- 设置滚动条的样式 -->
android:scrollbarThumbVertical="@drawable/scroll_bar"
<!-- 设置滚动条默认情况下显示 -->
android:fadeScrollbars="false"
/>
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://