how to change the Slider's thumb Material Component Android with image?

Viewed 1212

I am trying to use the slider in Material Design component, but stuck for styling the thumb. My design requirement needs shadow surrounding the thumb. From the documentation only show how to change the background thumb. Is it possible to change the thumb with image?

2 Answers

Create your drawable and use:

 android:thumb="@drawable/custom_thumb"
Related