AppCompatSeekBar

public class AppCompatSeekBar
extends SeekBar

java.lang.Object
   ↳ android.view.View
     ↳ android.widget.ProgressBar
       ↳ android.widget.AbsSeekBar
         ↳ android.widget.SeekBar
           ↳ androidx.appcompat.widget.AppCompatSeekBar


A SeekBar which supports compatible features on older versions of the platform.

This will automatically be used when you use SeekBar in your layouts and the top-level activity / dialog is provided by appcompat. You should only need to manually use this class when writing custom views.

Summary

Inherited constants

Inherited fields

Public constructors

AppCompatSeekBar(Context context)
AppCompatSeekBar(Context context, AttributeSet attrs)
AppCompatSeekBar(Context context, AttributeSet attrs, int defStyleAttr)

Public methods

void jumpDrawablesToCurrentState()

Protected methods

void drawableStateChanged()
void onDraw(Canvas canvas)

Inherited methods

Public constructors

AppCompatSeekBar

public AppCompatSeekBar (Context context)

Parameters
context Context

AppCompatSeekBar

public AppCompatSeekBar (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

AppCompatSeekBar

public AppCompatSeekBar (Context context, 
                AttributeSet attrs, 
                int defStyleAttr)

Parameters
context Context

attrs AttributeSet

defStyleAttr int

Public methods

jumpDrawablesToCurrentState

public void jumpDrawablesToCurrentState ()

Protected methods

drawableStateChanged

protected void drawableStateChanged ()

onDraw

protected void onDraw (Canvas canvas)

Parameters
canvas Canvas