ScrollView 滚动条
<style name="fa_SlideTabRecyclerView"> <item name="android:scrollbarThumbVertical">@drawable/slide_tab_rv_scroll_thumb</item> <item name="android:scrollbarSize">@dimen/4dp</item> <item name="android:scrollbars">vertical</item> <item name="android:verticalScrollbarPosition">left</item> <item name="android:fadeScrollbars">true</item> <item name="android:paddingLeft">@dimen/10dp</item> </style>
<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape> <corners android:radius="3dp"/> <solid android:color="#ddebee"/> </shape> </item> </layer-list>