I have two questions:
1) how do I change the color of the seek bar (path) from yellow (the default color) to white. What I mean to say is, while I slide the thumb ,
Since SeekBar
uses colorAccent
by default, you can create a new style with your custom color as colorAccent
then use theme
attribute to apply it to the SeekBar.
<SeekBar>
.
.
android:theme="@style/MySeekBarTheme"
.
</SeekBar>
in the @style:
<style name="MySeekBarTheme" parent="Widget.AppCompat.SeekBar" >
<item name="colorAccent">#ffff00</item>
</style>