Open drunkendaddy opened 6 years ago
Hi @drunkendaddy, drawable for thumbs is more complicated than a just image
See here for API19 and lower: https://github.com/apptik/MultiSlider/blob/master/lib/src/main/res/drawable/multislider_thumb_material.xml See here for API21 and higher: https://github.com/apptik/MultiSlider/blob/master/lib/src/main/res/drawable-v21/multislider_thumb_material_anim.xml
And docs from Android guide: https://developer.android.com/guide/topics/resources/drawable-resource.html#StateList
just use android:thumb="@drawable/your_drawable"
in xml
Is it possible to use, for example, gradient image as a source for thumb? I was trying to set `<?xml version="1.0" encoding="utf-8"?>
I tried:
but not working. thumb is not showing.