public static class PlaybackControlsRow.RepeatAction extends PlaybackControlsRow.MultiAction
Modifier and Type | Field and Description |
---|---|
static int |
ALL
Action index for the repeat-all icon.
|
static int |
NONE
Action index for the repeat-none icon.
|
static int |
ONE
Action index for the repeat-one icon.
|
Constructor and Description |
---|
RepeatAction(Context context)
Constructor
|
RepeatAction(Context context,
int highlightColor)
Constructor
|
RepeatAction(Context context,
int repeatAllColor,
int repeatOneColor)
Constructor
|
getActionCount, getDrawable, getIndex, getLabel, getSecondaryLabel, nextIndex, setDrawables, setIndex, setLabels, setSecondaryLabels
addKeyCode, getIcon, getId, getLabel1, getLabel2, removeKeyCode, respondsToKeyCode, setIcon, setId, setLabel1, setLabel2, toString
public static int NONE
public static int ALL
public static int ONE
public RepeatAction(Context context)
context
- Context used for loading resources.public RepeatAction(Context context, int highlightColor)
context
- Context used for loading resourceshighlightColor
- Color to display the repeat-all and repeat0one icons.public RepeatAction(Context context, int repeatAllColor, int repeatOneColor)
context
- Context used for loading resourcesrepeatAllColor
- Color to display the repeat-all icon.repeatOneColor
- Color to display the repeat-one icon.