I'm migrating from AppCompatSeekBar to material.slider.Slider
Removing the thumb on the SeekBar was easy using splitTrack="false".
How can I achieve the same with the Slider?
I'm migrating from AppCompatSeekBar to material.slider.Slider
Removing the thumb on the SeekBar was easy using splitTrack="false".
How can I achieve the same with the Slider?
You can use the attributes:
app:haloRadiusapp:thumbRadiusTo avoid the halo you can use app:haloRadius. Use 10dp as the thumbRadius:
<com.google.android.material.slider.Slider
app:haloRadius="10dp"
../>
You can also remove the thumb and the halo using the attribute app:thumbRadius="0dp"
<com.google.android.material.slider.Slider
app:thumbRadius="0dp"
app:haloRadius="0dp"
..../>
How about setting 0dp to app:thumbRadius and/or app:haloRadius?
<com.google.android.material.slider.Slider
app:thumbRadius="0dp"
app:haloRadius="0dp"
/>