I have created a vertical seekbar using drawable but thumb still moves in horizontal.
How can I change thumb to move vertically and measure the progress from vertical movement ?
I have checked other answer but it rotates my current layout to horizontal, I just want to change the thumb progress vertically.
Here is my layout:
<SeekBar
android:id="@+id/vertical_seekbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:thumbOffset="6dp"
android:progressDrawable="@drawable/seek_bar_path"
android:thumb="@drawable/seek_bar_thumb"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent" />