/** * Sets the color of the seekbar scrubber * * @param colorStateList The ColorStateList the track will be changed to */ public void setTrackColor(@NonNull ColorStateList colorStateList) { mTrack.setColorStateList(colorStateList); }
/** * Sets the color of the seekbar scrubber * * @param colorStateList The ColorStateList the track scrubber will be changed to */ public void setScrubberColor(@NonNull ColorStateList colorStateList) { mScrubber.setColorStateList(colorStateList); }
/** * Sets the color of the seekbar scrubber * * @param color The color the track will be changed to */ public void setTrackColor(int color) { mTrack.setColorStateList(ColorStateList.valueOf(color)); }
/** * Sets the color of the seekbar scrubber * * @param color The color the track scrubber will be changed to */ public void setScrubberColor(int color) { mScrubber.setColorStateList(ColorStateList.valueOf(color)); }