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.
Inherited constants |
|---|
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 | |
|---|---|
android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction
| |
android.support.v17.leanback.widget.Action
| |
java.lang.Object
| |
int ALL
Action index for the repeat-all icon.
int NONE
Action index for the repeat-none icon.
int ONE
Action index for the repeat-one icon.
PlaybackControlsRow.RepeatAction (Context context)
Constructor
| Parameters | |
|---|---|
context |
Context:
Context used for loading resources.
|
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 (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.
|