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
<init>(context: Context!)

<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

Public methods
open Boolean

open Unit
setMax(max: Int)

open Unit

Call Drawable.jumpToCurrentState() on all Drawable objects associated with this view.

open Unit
onRtlPropertiesChanged(layoutDirection: Int)

Called when any RTL property (layout direction or text direction or text alignment) has been changed.

open Unit
setMin(min: Int)

Set the lower range of the progress bar to min.

open Drawable!


Requires API level 24 (Android 7.0, Nougat)

open Unit

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

open PorterDuff.Mode?

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

open CharSequence!

Return the class name of this object to be used for accessibility purposes.

open Boolean

Returns whether the track should be split by the thumb.

open Int

open ColorStateList?

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

open Unit

Applies a tint to the thumb drawable.

open Unit

Sets the amount of progress changed via the arrow keys.

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

open ColorStateList?

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

open Unit

Applies a tint to the tick mark drawable.

open Unit

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

open Unit

This function is called whenever the view hotspot changes and needs to be propagated to drawables or child views managed by the view.

open Unit
setTickMark(tickMark: Drawable!)

Sets the drawable displayed at each progress position, e.

open Unit
setThumbOffset(thumbOffset: Int)

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

open PorterDuff.Mode?

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

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 Unit
setSplitTrack(splitTrack: Boolean)

Specifies whether the track should be split by the thumb.

open Int

Returns the amount of progress changed via the arrow keys.

open Unit
setThumb(thumb: Drawable!)

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

Protected methods
open Unit

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.

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

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

open Unit
onDraw(canvas: Canvas!)

Inherited functions
Inherited properties