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 |
用于显示三个重复状态的操作:无,一个或全部。
Inherited constants |
---|
From class android.support.v17.leanback.widget.Action
|
Fields |
|
---|---|
public static int |
ALL 重复全部图标的动作索引。 |
public static int |
NONE 重复无图标的动作索引。 |
public static int |
ONE 重复图标的动作索引。 |
Public constructors |
|
---|---|
PlaybackControlsRow.RepeatAction(Context context) 构造函数 |
|
PlaybackControlsRow.RepeatAction(Context context, int highlightColor) 构造函数 |
|
PlaybackControlsRow.RepeatAction(Context context, int repeatAllColor, int repeatOneColor) 构造函数 |
Inherited methods |
|
---|---|
From class android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction
|
|
From class android.support.v17.leanback.widget.Action
|
|
From class java.lang.Object
|
int ALL
重复全部图标的动作索引。
int NONE
重复无图标的动作索引。
int ONE
重复图标的动作索引。
PlaybackControlsRow.RepeatAction (Context context)
构造函数
Parameters | |
---|---|
context |
Context : Context used for loading resources. |
PlaybackControlsRow.RepeatAction (Context context, int highlightColor)
构造函数
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)
构造函数
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. |