Skip to content

How to set Custom Drawable for position 0 and position 2 thumbs #85

Open
@himanshumistri

Description

@himanshumistri

Hello,

I have tried for setting custom drawable for the thumb as they are in rectangle width and height.

I am using following code :

 mRangeSeekBar!!.getThumb(0).thumb= resources.getDrawable(R.drawable.ic_left_thumb,activity.theme)
        mRangeSeekBar!!.getThumb(2).thumb= resources.getDrawable(R.drawable.ic_right_thumb,activity.theme)

But it does not behave properly, How can I fix this issue.

I found that when i am using different size of thumb for all three thumb, Thumb bound are not working properly how to all different size thumbs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions