Most visited

Recently visited

PlaybackControlsRow.RepeatAction

public static class PlaybackControlsRow.RepeatAction
extends PlaybackControlsRow.MultiAction

java.lang.Object
   ↳ android.support.v17.leanback.widget.Action
     ↳ android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction
       ↳ android.support.v17.leanback.widget.PlaybackControlsRow.RepeatAction


An action for displaying three repeat states: none, one, or all.

Summary

Inherited constants

From class android.support.v17.leanback.widget.Action

Fields

public static int ALL

Action index for the repeat-all icon.

public static int NONE

Action index for the repeat-none icon.

public static int ONE

Action index for the repeat-one icon.

Public constructors

PlaybackControlsRow.RepeatAction(Context context)

Constructor

PlaybackControlsRow.RepeatAction(Context context, int highlightColor)

Constructor

PlaybackControlsRow.RepeatAction(Context context, int repeatAllColor, int repeatOneColor)

Constructor

Inherited methods

From class android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction
From class android.support.v17.leanback.widget.Action
From class java.lang.Object

Fields

ALL

int ALL

Action index for the repeat-all icon.

NONE

int NONE

Action index for the repeat-none icon.

ONE

int ONE

Action index for the repeat-one icon.

Public constructors

PlaybackControlsRow.RepeatAction

PlaybackControlsRow.RepeatAction (Context context)

Constructor

Parameters
context Context: Context used for loading resources.

PlaybackControlsRow.RepeatAction

PlaybackControlsRow.RepeatAction (Context context, 
                int highlightColor)

Constructor

Parameters
context Context: Context used for loading resources
highlightColor int: Color to display the repeat-all and repeat0one icons.

PlaybackControlsRow.RepeatAction

PlaybackControlsRow.RepeatAction (Context context, 
                int repeatAllColor, 
                int repeatOneColor)

Constructor

Parameters
context Context: Context used for loading resources
repeatAllColor int: Color to display the repeat-all icon.
repeatOneColor int: Color to display the repeat-one icon.

Hooray!