Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Custom Handle drawable #73

Open
fxhereng opened this issue Jul 14, 2017 · 0 comments
Open

Custom Handle drawable #73

fxhereng opened this issue Jul 14, 2017 · 0 comments

Comments

@fxhereng
Copy link

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

Does someone ran into this problem?

Thanks for answers,
Cheers

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant