Added in API level 1

SeekBar


open class SeekBar : AbsSeekBar
kotlin.Any
   ↳ android.view.View
   ↳ android.widget.ProgressBar
   ↳ android.widget.AbsSeekBar
   ↳ android.widget.SeekBar

A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys. Placing focusable widgets to the left or right of a SeekBar is discouraged.

Clients of the SeekBar can attach a SeekBar.OnSeekBarChangeListener to be notified of the user's actions.

Summary

Nested classes
abstract

A callback that notifies clients when the progress level has been changed.

XML attributes
android:thumb Draws the thumb on a seekbar.
Inherited XML attributes
Inherited constants
Public constructors
SeekBar(context: Context!)

SeekBar(context: Context!, attrs: AttributeSet!)

SeekBar(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

SeekBar(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

Public methods
open CharSequence!

open Unit

Sets a listener to receive notifications of changes to the SeekBar's progress level.

Inherited functions