Open fxhereng opened 7 years ago
Hi there,
I'm trying to set a custom drawable for the handle but I wasn't able to have a correct result.
I tried with:
app:rfs_handleBackground="@drawable/scrollbar_arrows"
But it doesn't take into account the width so it's showing a very tiny icon.
I tried:
app:rfs_fast_scroller_layout="@layout/layout_image"
with layout_image:
<?xml version="1.0" encoding="utf-8"?> <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:src="@drawable/scrollbar_arrows" xmlns:android="http://schemas.android.com/apk/res/android" android:scaleType="fitCenter"/>
but it crashed : InflateException: Binary XML file line #157: Error inflating class xyz.danoz.recyclerviewfastscroller.vertical.VerticalRecyclerViewFastScroller
InflateException: Binary XML file line #157: Error inflating class xyz.danoz.recyclerviewfastscroller.vertical.VerticalRecyclerViewFastScroller
Does someone ran into this problem?
Thanks for answers, Cheers
Hi there,
I'm trying to set a custom drawable for the handle but I wasn't able to have a correct result.
I tried with:
But it doesn't take into account the width so it's showing a very tiny icon.
I tried:
with layout_image:
but it crashed :
InflateException: Binary XML file line #157: Error inflating class xyz.danoz.recyclerviewfastscroller.vertical.VerticalRecyclerViewFastScroller
Does someone ran into this problem?
Thanks for answers, Cheers