Android APIs
public class

FocusHighlightHelper

extends Object
java.lang.Object
   ↳ android.support.v17.leanback.widget.FocusHighlightHelper

Class Overview

Sets up the highlighting behavior when an item gains focus.

Summary

Public Constructors
FocusHighlightHelper()
Public Methods
static void setupBrowseItemFocusHighlight(ItemBridgeAdapter adapter, int zoomIndex, boolean useDimmer)
Sets up the focus highlight behavior of a focused item in browse list row.
static void setupHeaderItemFocusHighlight(VerticalGridView gridView)
Sets up the focus highlight behavior of a focused item in header list.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FocusHighlightHelper ()

Public Methods

public static void setupBrowseItemFocusHighlight (ItemBridgeAdapter adapter, int zoomIndex, boolean useDimmer)

Sets up the focus highlight behavior of a focused item in browse list row.

Parameters
adapter adapter of the list row.
zoomIndex One of ZOOM_FACTOR_SMALL ZOOM_FACTOR_XSMALL ZOOM_FACTOR_MEDIUM ZOOM_FACTOR_LARGE ZOOM_FACTOR_NONE.
useDimmer Allow dimming browse item when unselected.

public static void setupHeaderItemFocusHighlight (VerticalGridView gridView)

Sets up the focus highlight behavior of a focused item in header list.

Parameters
gridView the header list.