Skip to content

Custom Handle drawable #73

@fxhereng

Description

@fxhereng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions