added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

PlaybackControlsRow.ThumbsAction

public static abstract class PlaybackControlsRow.ThumbsAction
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.ThumbsAction
Known Direct Subclasses


A base class for displaying a thumbs action.

Summary

Constants

int INDEX_OUTLINE

Action index for the outline thumb icon.

int INDEX_SOLID

Action index for the solid thumb icon.

int OUTLINE

This constant was deprecated in API level 26.1.0. Use INDEX_OUTLINE

int SOLID

This constant was deprecated in API level 26.1.0. Use INDEX_SOLID

Inherited constants

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

Public constructors

PlaybackControlsRow.ThumbsAction(int id, Context context, int solidIconIndex, int outlineIconIndex)

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

Constants

INDEX_OUTLINE

added in version 26.1.0
int INDEX_OUTLINE

Action index for the outline thumb icon.

Constant Value: 1 (0x00000001)

INDEX_SOLID

added in version 26.1.0
int INDEX_SOLID

Action index for the solid thumb icon.

Constant Value: 0 (0x00000000)

OUTLINE

added in version 22.1.0
int OUTLINE

This constant was deprecated in API level 26.1.0.
Use INDEX_OUTLINE

Action index for the outline thumb icon.

Constant Value: 1 (0x00000001)

SOLID

added in version 22.1.0
int SOLID

This constant was deprecated in API level 26.1.0.
Use INDEX_SOLID

Action index for the solid thumb icon.

Constant Value: 0 (0x00000000)

Public constructors

PlaybackControlsRow.ThumbsAction

added in version 22.1.0
PlaybackControlsRow.ThumbsAction (int id, 
                Context context, 
                int solidIconIndex, 
                int outlineIconIndex)

Constructor

Parameters
id int

context Context: Context used for loading resources.

solidIconIndex int

outlineIconIndex int