Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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