SeekBar - OneUIProject/OneUI-Design-Library GitHub Wiki

de.dlyt.yanndroid.oneui.widget.SeekBar

Samsung's SeekBar.

<de.dlyt.yanndroid.oneui.widget.SeekBar
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:seslSeekBarMode="..." />

With the app:seslSeekBarMode attribute, you can set the behavior of the SeekBar when pressed/tracking. Available values are:

  • standard (default)
  • expand (expands on slide)
  • vertical (standard but vertical)
  • expand_vertical (expand but vertical)
  • warning (turns orange when reaching the end)
  • split (idk, ask Samsung)

Methods

Set a warning at progress i.

public void setOverlapPointForDualColor(int i)

Make the seekbar seamless.

public void setSeamless(boolean var1)

Other methods are the same as the default Seekbar.