Android APIs
public class

TitleHelper

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

Class Overview

Helper for managing TitleView, including transitions and focus movement. Assumes the TitleView is overlayed on the topmost portion of the scene root view.

Summary

Public Constructors
TitleHelper(ViewGroup sceneRoot, TitleView titleView)
Public Methods
BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener()
Returns a BrowseFrameLayout.OnFocusSearchListener which may be used to manage focus switching between the title view and scene root.
ViewGroup getSceneRoot()
Returns the scene root ViewGroup.
TitleView getTitleView()
Returns the TitleView
void showTitle(boolean show)
Shows the title.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TitleHelper (ViewGroup sceneRoot, TitleView titleView)

Public Methods

public BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener ()

Returns a BrowseFrameLayout.OnFocusSearchListener which may be used to manage focus switching between the title view and scene root.

public ViewGroup getSceneRoot ()

Returns the scene root ViewGroup.

public TitleView getTitleView ()

Returns the TitleView

public void showTitle (boolean show)

Shows the title.