The library provides extensive customization options for the thumb, track, and popup via XML or programmatic calls.
Available XML attributes:
app:fastScrollPopupBgColor (Popup background color)app:fastScrollPopupTextColor (Popup text color)app:fastScrollPopupTextSize (Popup text size)app:fastScrollPopupBackgroundSize (Popup background size)app:fastScrollThumbColor (Thumb color)app:fastScrollThumbWidth (Thumb width)app:fastScrollTrackColor (Track color)app:fastScrollTrackWidth (Track width)app:fastScrollPopupPosition (Popup position)app:fastScrollPopupTextVerticalAlignmentMode (Popup text vertical alignment mode)
Available Programmatic methods:
setThumbColor(@ColorInt int color)setTrackColor(@ColorInt int color)setPopupBgColor(@ColorInt int color)setPopupTextColor(@ColorInt int color)setPopupTextSize(int size)setPopupPosition(@FastScroller.FastScrollerPopupPosition int position)
<com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView
app:fastScrollPopupBgColor="@color/colorAccent"
app:fastScrollPopupTextColor="@android:color/primary_text_dark"
app:fastScrollPopupTextSize="56sp"
app:fastScrollPopupBackgroundSize="88dp"
app:fastScrollThumbColor="@color/colorAccent"
app:fastScrollThumbWidth="6dp"
app:fastScrollTrackColor="#1f000000"
app:fastScrollTrackWidth="8dp"
app:fastScrollPopupPosition="adjacent"
app:fastScrollPopupTextVerticalAlignmentMode="fontMetrics"/>
...