Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

TitleHelper

public class TitleHelper
extends Object

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


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, View 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.

View getTitleView()

Returns the TitleView

void showTitle(boolean show)

Shows the title.

Inherited methods

From class java.lang.Object

Public constructors

TitleHelper

added in version 24.1.0
TitleHelper (ViewGroup sceneRoot, 
                View titleView)

Parameters
sceneRoot ViewGroup

titleView View

Public methods

getOnFocusSearchListener

added in version 22.1.0
BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener ()

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

Returns
BrowseFrameLayout.OnFocusSearchListener

getSceneRoot

added in version 22.1.0
ViewGroup getSceneRoot ()

Returns the scene root ViewGroup.

Returns
ViewGroup

getTitleView

added in version 22.1.0
View getTitleView ()

Returns the TitleView

Returns
View

showTitle

added in version 22.1.0
void showTitle (boolean show)

Shows the title.

Parameters
show boolean