Added in API level 1

AbsSeekBar


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

AbsSeekBar extends the capabilities of ProgressBar by adding a draggable thumb.

Summary

Inherited XML attributes
Inherited constants
Public constructors
AbsSeekBar(context: Context!)

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

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

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

Public methods
open Unit

open CharSequence!

open Int

Returns the amount of progress changed via the arrow keys.

open Boolean

Returns whether the track should be split by the thumb.

open Drawable!

Return the drawable used to represent the scroll thumb - the component that the user can drag back and forth indicating the current value by its position.

open Int

open BlendMode?

Returns the blending mode used to apply the tint to the thumb drawable, if specified.

open ColorStateList?

Returns the tint applied to the thumb drawable, if specified.

open PorterDuff.Mode?

Returns the blending mode used to apply the tint to the thumb drawable, if specified.

open Drawable!

open BlendMode?

Returns the blending mode used to apply the tint to the tick mark drawable, if specified.

open ColorStateList?

Returns the tint applied to the tick mark drawable, if specified.

open PorterDuff.Mode?

Returns the blending mode used to apply the tint to the tick mark drawable, if specified.

open Unit

open Boolean
onKeyDown(keyCode: Int, event: KeyEvent!)

open Unit
onRtlPropertiesChanged(layoutDirection: Int)

open Boolean

open Unit

Sets the amount of progress changed via the arrow keys.

open Unit
setMax(max: Int)

open Unit
setMin(min: Int)

open Unit
setSplitTrack(splitTrack: Boolean)

Specifies whether the track should be split by the thumb.

open Unit

Sets a list of areas within this view's post-layout coordinate space where the system should not intercept touch or other pointing device gestures.

open Unit
setThumb(thumb: Drawable!)

Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.

open Unit
setThumbOffset(thumbOffset: Int)

Sets the thumb offset that allows the thumb to extend out of the range of the track.

open Unit

Specifies the blending mode used to apply the tint specified by setThumbTintList(android.content.res.ColorStateList)} to the thumb drawable.

open Unit

Applies a tint to the thumb drawable.

open Unit

Specifies the blending mode used to apply the tint specified by setThumbTintList(android.content.res.ColorStateList)} to the thumb drawable.

open Unit
setTickMark(tickMark: Drawable!)

Sets the drawable displayed at each progress position, e.

open Unit

Specifies the blending mode used to apply the tint specified by setTickMarkTintList(android.content.res.ColorStateList)} to the tick mark drawable.

open Unit

Applies a tint to the tick mark drawable.

open Unit

Specifies the blending mode used to apply the tint specified by setTickMarkTintList(android.content.res.ColorStateList)} to the tick mark drawable.

Protected methods
open Unit

open Unit
onDraw(canvas: Canvas)

open Unit
onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)

open Unit
onSizeChanged(w: Int, h: Int, oldw: Int, oldh: Int)

open Boolean

If your view subclass is displaying its own Drawable objects, it should override this function and return true for any Drawable it is displaying.

Inherited functions