# BrandedFragment

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1  
Deprecated since version 27.1.0  
Summary:[Inherited Constants](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#inhconstants)\|[Ctors](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#pubctors)\|[Methods](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#)  

# BrandedFragment

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public


class
BrandedFragment
`  
`


``

extends `[Fragment](https://developer.android.com/reference/android/app/Fragment.html)`


``


`

|---|---|--------------------------------------------------|
| java.lang.Object                                       |||
| ↳ | [android.app.Fragment](https://developer.android.com/reference/android/app/Fragment.html) ||
|   | ↳ | android.support.v17.leanback.app.BrandedFragment |

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#)Known Direct Subclasses [BaseFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BaseFragment),[ErrorFragment](https://developer.android.com/reference/android/support/v17/leanback/app/ErrorFragment) |---------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [BaseFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BaseFragment)   | *This class was deprecated in API level 27.1.0. use[BaseSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BaseSupportFragment)*   | | [ErrorFragment](https://developer.android.com/reference/android/support/v17/leanback/app/ErrorFragment) | *This class was deprecated in API level 27.1.0. use[ErrorSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/ErrorSupportFragment)* | |

|---|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#)Known Indirect Subclasses [BrowseFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment),[DetailsFragment](https://developer.android.com/reference/android/support/v17/leanback/app/DetailsFragment),[VerticalGridFragment](https://developer.android.com/reference/android/support/v17/leanback/app/VerticalGridFragment) |-----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [BrowseFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment)             | *This class was deprecated in API level 27.1.0. use[BrowseSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment)*             | | [DetailsFragment](https://developer.android.com/reference/android/support/v17/leanback/app/DetailsFragment)           | *This class was deprecated in API level 27.1.0. use[DetailsSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/DetailsSupportFragment)*           | | [VerticalGridFragment](https://developer.android.com/reference/android/support/v17/leanback/app/VerticalGridFragment) | *This class was deprecated in API level 27.1.0. use[VerticalGridSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/VerticalGridSupportFragment)* | ||

<br />

*** ** * ** ***

<br />

**This class was deprecated in API level 27.1.0.**   
use[BrandedSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedSupportFragment)

Fragment class for managing search and branding using a view that implements[TitleViewAdapter.Provider](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter.Provider).

## Summary

|                                                                                                                                                                                                                                                                                                               ### Inherited constants                                                                                                                                                                                                                                                                                                                |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#)From interface` android.content.ComponentCallbacks2 ` |-------|---------------------------------------| | `int` | `TRIM_MEMORY_BACKGROUND` <br />       | | `int` | `TRIM_MEMORY_COMPLETE` <br />         | | `int` | `TRIM_MEMORY_MODERATE` <br />         | | `int` | `TRIM_MEMORY_RUNNING_CRITICAL` <br /> | | `int` | `TRIM_MEMORY_RUNNING_LOW` <br />      | | `int` | `TRIM_MEMORY_RUNNING_MODERATE` <br /> | | `int` | `TRIM_MEMORY_UI_HIDDEN` <br />        | |

|                                                         ### Public constructors                                                          ||
|---------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[BrandedFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#BrandedFragment())`() ` |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                  ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                                                                   ||
|-----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)                              | ` `[getBadgeDrawable](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#getBadgeDrawable())`() ` Returns the badge drawable used in the fragment title.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` int`                                                                                                                      | ` `[getSearchAffordanceColor](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#getSearchAffordanceColor())`() ` Returns the color used to draw the search affordance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` `[SearchOrbView.Colors](https://developer.android.com/reference/android/support/v17/leanback/widget/SearchOrbView.Colors) | ` `[getSearchAffordanceColors](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#getSearchAffordanceColors())`() ` Returns the[SearchOrbView.Colors](https://developer.android.com/reference/android/support/v17/leanback/widget/SearchOrbView.Colors)used to draw the search affordance.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` CharSequence`                                                                                                             | ` `[getTitle](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#getTitle())`() ` Returns the title text for the fragment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` `[View](https://developer.android.com/reference/android/view/View.html)                                                   | ` `[getTitleView](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#getTitleView())`() ` Returns the view that implements[TitleViewAdapter.Provider](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter.Provider).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` `[TitleViewAdapter](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter)         | ` `[getTitleViewAdapter](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#getTitleViewAdapter())`() ` Returns the[TitleViewAdapter](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter)implemented by title view.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                                                     | ` `[installTitleView](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#installTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle))`(`[LayoutInflater](https://developer.android.com/reference/android/view/LayoutInflater.html)` inflater, `[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` parent, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` savedInstanceState) ` Inflate title view and add to parent.                                                                                                                                                                                                                                       |
| ` final boolean`                                                                                                            | ` `[isShowingTitle](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#isShowingTitle())`() ` Returns true/false to indicate the visibility of TitleView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` void`                                                                                                                     | ` `[onDestroyView](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#onDestroyView())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` `[View](https://developer.android.com/reference/android/view/View.html)                                                   | ` `[onInflateTitleView](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#onInflateTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle))`(`[LayoutInflater](https://developer.android.com/reference/android/view/LayoutInflater.html)` inflater, `[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` parent, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` savedInstanceState) ` Called by[installTitleView(LayoutInflater, ViewGroup, Bundle)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#installTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle))to inflate title view. |
| ` void`                                                                                                                     | ` `[onPause](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#onPause())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ` void`                                                                                                                     | ` `[onResume](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#onResume())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                                                     | ` `[onSaveInstanceState](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#onSaveInstanceState(android.os.Bundle))`(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` outState) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                     | ` `[onStart](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#onStart())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ` void`                                                                                                                     | ` `[onViewCreated](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#onViewCreated(android.view.View, android.os.Bundle))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` savedInstanceState) `                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                     | ` `[setBadgeDrawable](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#setBadgeDrawable(android.graphics.drawable.Drawable))`(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` drawable) ` Sets the drawable displayed in the fragment title.                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                                     | ` `[setOnSearchClickedListener](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#setOnSearchClickedListener(android.view.View.OnClickListener))`(`[View.OnClickListener](https://developer.android.com/reference/android/view/View.OnClickListener.html)` listener) ` Sets a click listener for the search affordance.                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                                                     | ` `[setSearchAffordanceColor](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#setSearchAffordanceColor(int))`(int color) ` Sets the color used to draw the search affordance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` void`                                                                                                                     | ` `[setSearchAffordanceColors](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#setSearchAffordanceColors(android.support.v17.leanback.widget.SearchOrbView.Colors))`(`[SearchOrbView.Colors](https://developer.android.com/reference/android/support/v17/leanback/widget/SearchOrbView.Colors)` colors) ` Sets the[SearchOrbView.Colors](https://developer.android.com/reference/android/support/v17/leanback/widget/SearchOrbView.Colors)used to draw the search affordance.                                                                                                                                                                                                                                                                   |
| ` void`                                                                                                                     | ` `[setTitle](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#setTitle(java.lang.CharSequence))`(CharSequence title) ` Sets title text for the fragment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                     | ` `[setTitleView](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#setTitleView(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` titleView) ` Sets the view that implemented[TitleViewAdapter](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter).                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                                     | ` `[showTitle](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#showTitle(int))`(int flags) ` Changes title view's components visibility and shows title.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                     | ` `[showTitle](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#showTitle(boolean))`(boolean show) ` Shows or hides the title view.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#)From class` `[android.app.Fragment](https://developer.android.com/reference/android/app/Fragment.html)` ` |------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                              | ` dump(String arg0, FileDescriptor arg1, PrintWriter arg2, String[] arg3) `                                                                                                                                                                                                                                                                     | | ` final boolean`                                                                                     | ` equals(Object arg0) `                                                                                                                                                                                                                                                                                                                         | | ` final `[Activity](https://developer.android.com/reference/android/app/Activity.html)               | ` getActivity() `                                                                                                                                                                                                                                                                                                                               | | ` boolean`                                                                                           | ` getAllowEnterTransitionOverlap() `                                                                                                                                                                                                                                                                                                            | | ` boolean`                                                                                           | ` getAllowReturnTransitionOverlap() `                                                                                                                                                                                                                                                                                                           | | ` final `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)                    | ` getArguments() `                                                                                                                                                                                                                                                                                                                              | | ` final `[FragmentManager](https://developer.android.com/reference/android/app/FragmentManager.html) | ` getChildFragmentManager() `                                                                                                                                                                                                                                                                                                                   | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                   | ` getContext() `                                                                                                                                                                                                                                                                                                                                | | ` `[Transition](https://developer.android.com/reference/android/transition/Transition.html)          | ` getEnterTransition() `                                                                                                                                                                                                                                                                                                                        | | ` `[Transition](https://developer.android.com/reference/android/transition/Transition.html)          | ` getExitTransition() `                                                                                                                                                                                                                                                                                                                         | | ` final `[FragmentManager](https://developer.android.com/reference/android/app/FragmentManager.html) | ` getFragmentManager() `                                                                                                                                                                                                                                                                                                                        | | ` final Object`                                                                                      | ` getHost() `                                                                                                                                                                                                                                                                                                                                   | | ` final int`                                                                                         | ` getId() `                                                                                                                                                                                                                                                                                                                                     | | ` final `[LayoutInflater](https://developer.android.com/reference/android/view/LayoutInflater.html)  | ` getLayoutInflater() `                                                                                                                                                                                                                                                                                                                         | | ` `[LoaderManager](https://developer.android.com/reference/android/app/LoaderManager.html)           | ` getLoaderManager() `                                                                                                                                                                                                                                                                                                                          | | ` final `[Fragment](https://developer.android.com/reference/android/app/Fragment.html)               | ` getParentFragment() `                                                                                                                                                                                                                                                                                                                         | | ` `[Transition](https://developer.android.com/reference/android/transition/Transition.html)          | ` getReenterTransition() `                                                                                                                                                                                                                                                                                                                      | | ` final `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)     | ` getResources() `                                                                                                                                                                                                                                                                                                                              | | ` final boolean`                                                                                     | ` getRetainInstance() `                                                                                                                                                                                                                                                                                                                         | | ` `[Transition](https://developer.android.com/reference/android/transition/Transition.html)          | ` getReturnTransition() `                                                                                                                                                                                                                                                                                                                       | | ` `[Transition](https://developer.android.com/reference/android/transition/Transition.html)          | ` getSharedElementEnterTransition() `                                                                                                                                                                                                                                                                                                           | | ` `[Transition](https://developer.android.com/reference/android/transition/Transition.html)          | ` getSharedElementReturnTransition() `                                                                                                                                                                                                                                                                                                          | | ` final String`                                                                                      | ` getString(int arg0, Object... arg1) `                                                                                                                                                                                                                                                                                                         | | ` final String`                                                                                      | ` getString(int arg0) `                                                                                                                                                                                                                                                                                                                         | | ` final String`                                                                                      | ` getTag() `                                                                                                                                                                                                                                                                                                                                    | | ` final `[Fragment](https://developer.android.com/reference/android/app/Fragment.html)               | ` getTargetFragment() `                                                                                                                                                                                                                                                                                                                         | | ` final int`                                                                                         | ` getTargetRequestCode() `                                                                                                                                                                                                                                                                                                                      | | ` final CharSequence`                                                                                | ` getText(int arg0) `                                                                                                                                                                                                                                                                                                                           | | ` boolean`                                                                                           | ` getUserVisibleHint() `                                                                                                                                                                                                                                                                                                                        | | ` `[View](https://developer.android.com/reference/android/view/View.html)                            | ` getView() `                                                                                                                                                                                                                                                                                                                                   | | ` final int`                                                                                         | ` hashCode() `                                                                                                                                                                                                                                                                                                                                  | | ` static `[Fragment](https://developer.android.com/reference/android/app/Fragment.html)              | ` instantiate(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1) `                                                                                                                                                                                                                            | | ` static `[Fragment](https://developer.android.com/reference/android/app/Fragment.html)              | ` instantiate(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                                                                                                           | | ` final boolean`                                                                                     | ` isAdded() `                                                                                                                                                                                                                                                                                                                                   | | ` final boolean`                                                                                     | ` isDetached() `                                                                                                                                                                                                                                                                                                                                | | ` final boolean`                                                                                     | ` isHidden() `                                                                                                                                                                                                                                                                                                                                  | | ` final boolean`                                                                                     | ` isInLayout() `                                                                                                                                                                                                                                                                                                                                | | ` final boolean`                                                                                     | ` isRemoving() `                                                                                                                                                                                                                                                                                                                                | | ` final boolean`                                                                                     | ` isResumed() `                                                                                                                                                                                                                                                                                                                                 | | ` final boolean`                                                                                     | ` isStateSaved() `                                                                                                                                                                                                                                                                                                                              | | ` final boolean`                                                                                     | ` isVisible() `                                                                                                                                                                                                                                                                                                                                 | | ` void`                                                                                              | ` onActivityCreated(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                              | ` onActivityResult(int arg0, int arg1, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg2) `                                                                                                                                                                                                                  | | ` void`                                                                                              | ` onAttach(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0) `                                                                                                                                                                                                                                              | | ` void`                                                                                              | ` onAttach(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                              | ` onAttachFragment(`[Fragment](https://developer.android.com/reference/android/app/Fragment.html)` arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                              | ` onConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                                                                                              | | ` boolean`                                                                                           | ` onContextItemSelected(`[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)` arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                              | ` onCreate(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                                   | | ` `[Animator](https://developer.android.com/reference/android/animation/Animator.html)               | ` onCreateAnimator(int arg0, boolean arg1, int arg2) `                                                                                                                                                                                                                                                                                          | | ` void`                                                                                              | ` onCreateContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, `[ContextMenu.ContextMenuInfo](https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html)` arg2) `                | | ` void`                                                                                              | ` onCreateOptionsMenu(`[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg0, `[MenuInflater](https://developer.android.com/reference/android/view/MenuInflater.html)` arg1) `                                                                                                                                           | | ` `[View](https://developer.android.com/reference/android/view/View.html)                            | ` onCreateView(`[LayoutInflater](https://developer.android.com/reference/android/view/LayoutInflater.html)` arg0, `[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                   | | ` void`                                                                                              | ` onDestroy() `                                                                                                                                                                                                                                                                                                                                 | | ` void`                                                                                              | ` onDestroyOptionsMenu() `                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                              | ` onDestroyView() `                                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                              | ` onDetach() `                                                                                                                                                                                                                                                                                                                                  | | ` `[LayoutInflater](https://developer.android.com/reference/android/view/LayoutInflater.html)        | ` onGetLayoutInflater(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                              | ` onHiddenChanged(boolean arg0) `                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                              | ` onInflate(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                   | | ` void`                                                                                              | ` onInflate(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                             | | ` void`                                                                                              | ` onInflate(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                           | | ` void`                                                                                              | ` onLowMemory() `                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                              | ` onMultiWindowModeChanged(boolean arg0) `                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                              | ` onMultiWindowModeChanged(boolean arg0, `[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg1) `                                                                                                                                                                                              | | ` boolean`                                                                                           | ` onOptionsItemSelected(`[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)` arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                              | ` onOptionsMenuClosed(`[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                              | ` onPause() `                                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                              | ` onPictureInPictureModeChanged(boolean arg0, `[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg1) `                                                                                                                                                                                         | | ` void`                                                                                              | ` onPictureInPictureModeChanged(boolean arg0) `                                                                                                                                                                                                                                                                                                 | | ` void`                                                                                              | ` onPrepareOptionsMenu(`[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                              | ` onRequestPermissionsResult(int arg0, String[] arg1, int[] arg2) `                                                                                                                                                                                                                                                                             | | ` void`                                                                                              | ` onResume() `                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                              | ` onSaveInstanceState(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                              | ` onStart() `                                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                              | ` onStop() `                                                                                                                                                                                                                                                                                                                                    | | ` void`                                                                                              | ` onTrimMemory(int arg0) `                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                              | ` onViewCreated(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                               | | ` void`                                                                                              | ` onViewStateRestored(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                              | ` postponeEnterTransition() `                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                              | ` registerForContextMenu(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                                                                       | | ` final void`                                                                                        | ` requestPermissions(String[] arg0, int arg1) `                                                                                                                                                                                                                                                                                                 | | ` void`                                                                                              | ` setAllowEnterTransitionOverlap(boolean arg0) `                                                                                                                                                                                                                                                                                                | | ` void`                                                                                              | ` setAllowReturnTransitionOverlap(boolean arg0) `                                                                                                                                                                                                                                                                                               | | ` void`                                                                                              | ` setArguments(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                               | | ` void`                                                                                              | ` setEnterSharedElementCallback(`[SharedElementCallback](https://developer.android.com/reference/android/app/SharedElementCallback.html)` arg0) `                                                                                                                                                                                               | | ` void`                                                                                              | ` setEnterTransition(`[Transition](https://developer.android.com/reference/android/transition/Transition.html)` arg0) `                                                                                                                                                                                                                         | | ` void`                                                                                              | ` setExitSharedElementCallback(`[SharedElementCallback](https://developer.android.com/reference/android/app/SharedElementCallback.html)` arg0) `                                                                                                                                                                                                | | ` void`                                                                                              | ` setExitTransition(`[Transition](https://developer.android.com/reference/android/transition/Transition.html)` arg0) `                                                                                                                                                                                                                          | | ` void`                                                                                              | ` setHasOptionsMenu(boolean arg0) `                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                              | ` setInitialSavedState(`[Fragment.SavedState](https://developer.android.com/reference/android/app/Fragment.SavedState.html)` arg0) `                                                                                                                                                                                                            | | ` void`                                                                                              | ` setMenuVisibility(boolean arg0) `                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                              | ` setReenterTransition(`[Transition](https://developer.android.com/reference/android/transition/Transition.html)` arg0) `                                                                                                                                                                                                                       | | ` void`                                                                                              | ` setRetainInstance(boolean arg0) `                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                              | ` setReturnTransition(`[Transition](https://developer.android.com/reference/android/transition/Transition.html)` arg0) `                                                                                                                                                                                                                        | | ` void`                                                                                              | ` setSharedElementEnterTransition(`[Transition](https://developer.android.com/reference/android/transition/Transition.html)` arg0) `                                                                                                                                                                                                            | | ` void`                                                                                              | ` setSharedElementReturnTransition(`[Transition](https://developer.android.com/reference/android/transition/Transition.html)` arg0) `                                                                                                                                                                                                           | | ` void`                                                                                              | ` setTargetFragment(`[Fragment](https://developer.android.com/reference/android/app/Fragment.html)` arg0, int arg1) `                                                                                                                                                                                                                           | | ` void`                                                                                              | ` setUserVisibleHint(boolean arg0) `                                                                                                                                                                                                                                                                                                            | | ` boolean`                                                                                           | ` shouldShowRequestPermissionRationale(String arg0) `                                                                                                                                                                                                                                                                                           | | ` void`                                                                                              | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                              | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                        | | ` void`                                                                                              | ` startActivityForResult(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, int arg1) `                                                                                                                                                                                                                      | | ` void`                                                                                              | ` startActivityForResult(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, int arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                                                                                                     | | ` void`                                                                                              | ` startIntentSenderForResult(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, int arg1, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg2, int arg3, int arg4, int arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) ` | | ` void`                                                                                              | ` startPostponedEnterTransition() `                                                                                                                                                                                                                                                                                                             | | ` String`                                                                                            | ` toString() `                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                              | ` unregisterForContextMenu(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                                                                     | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#)From interface` `[android.content.ComponentCallbacks2](https://developer.android.com/reference/android/content/ComponentCallbacks2.html)` ` |------------------|----------------------------| | ` abstract void` | ` onTrimMemory(int arg0) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#)From interface` `[android.view.View.OnCreateContextMenuListener](https://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html)` ` |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` onCreateContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, `[ContextMenu.ContextMenuInfo](https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html)` arg2) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#)From interface` `[android.content.ComponentCallbacks](https://developer.android.com/reference/android/content/ComponentCallbacks.html)` ` |------------------|------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` onConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) ` | | ` abstract void` | ` onLowMemory() `                                                                                                                  | ||

## Public constructors

### BrandedFragment

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
BrandedFragment ()
```

<br />

<br />

## Public methods

### getBadgeDrawable

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Drawable getBadgeDrawable ()
```

Returns the badge drawable used in the fragment title.

<br />

|                                                                      Returns                                                                       ||
|---------------------------------------------------------------------------------------------|-------------------------------------------------------|
| [Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html) | The badge drawable used in the fragment title. <br /> |

### getSearchAffordanceColor

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getSearchAffordanceColor ()
```

Returns the color used to draw the search affordance.

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |

### getSearchAffordanceColors

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
SearchOrbView.Colors getSearchAffordanceColors ()
```

Returns the[SearchOrbView.Colors](https://developer.android.com/reference/android/support/v17/leanback/widget/SearchOrbView.Colors)used to draw the search affordance.

<br />

|                                                             Returns                                                              ||
|--------------------------------------------------------------------------------------------------------------------------|--------|
| [SearchOrbView.Colors](https://developer.android.com/reference/android/support/v17/leanback/widget/SearchOrbView.Colors) | <br /> |

### getTitle

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
CharSequence getTitle ()
```

Returns the title text for the fragment.

<br />

|                       Returns                       ||
|----------------|-------------------------------------|
| `CharSequence` | Title text for the fragment. <br /> |

### getTitleView

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
View getTitleView ()
```

Returns the view that implements[TitleViewAdapter.Provider](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter.Provider).

<br />

|                                                                                                                  Returns                                                                                                                   ||
|------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [View](https://developer.android.com/reference/android/view/View.html) | The view that implements[TitleViewAdapter.Provider](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter.Provider). <br /> |

### getTitleViewAdapter

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
TitleViewAdapter getTitleViewAdapter ()
```

Returns the[TitleViewAdapter](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter)implemented by title view.

<br />

|                                                                                                                                Returns                                                                                                                                 ||
|------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
| [TitleViewAdapter](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter) | The[TitleViewAdapter](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter)implemented by title view. <br /> |

### installTitleView

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void installTitleView (LayoutInflater inflater, 
                ViewGroup parent, 
                Bundle savedInstanceState)
```

Inflate title view and add to parent. This method should be called in[onCreateView(LayoutInflater, ViewGroup, Bundle)](https://developer.android.com/reference/android/app/Fragment.html#onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle)).

<br />

|                                                              Parameters                                                              ||
|----------------------|----------------------------------------------------------------------------------------------------------------|
| `inflater`           | `LayoutInflater`: The LayoutInflater object that can be used to inflate any views in the fragment, <br />      |
| `parent`             | `ViewGroup`: Parent of title view. <br />                                                                      |
| `savedInstanceState` | `Bundle`: If non-null, this fragment is being re-constructed from a previous saved state as given here. <br /> |

### isShowingTitle

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean isShowingTitle ()
```

Returns true/false to indicate the visibility of TitleView.

<br />

|                                   Returns                                    ||
|-----------|-------------------------------------------------------------------|
| `boolean` | boolean to indicate whether or not it's showing the title. <br /> |

### onDestroyView

```
void onDestroyView ()
```

<br />

<br />

### onInflateTitleView

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
View onInflateTitleView (LayoutInflater inflater, 
                ViewGroup parent, 
                Bundle savedInstanceState)
```

Called by[installTitleView(LayoutInflater, ViewGroup, Bundle)](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment#installTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle))to inflate title view. Default implementation uses layout file lb_browse_title. Subclass may override and use its own layout, the layout must have a descendant with id browse_title_group that implements[TitleViewAdapter.Provider](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter.Provider). Subclass may return null if no title is needed.

<br />

|                                                              Parameters                                                              ||
|----------------------|----------------------------------------------------------------------------------------------------------------|
| `inflater`           | `LayoutInflater`: The LayoutInflater object that can be used to inflate any views in the fragment, <br />      |
| `parent`             | `ViewGroup`: Parent of title view. <br />                                                                      |
| `savedInstanceState` | `Bundle`: If non-null, this fragment is being re-constructed from a previous saved state as given here. <br /> |

|                                                                                                                                                             Returns                                                                                                                                                             ||
|------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [View](https://developer.android.com/reference/android/view/View.html) | Title view which must have a descendant with id browse_title_group that implements[TitleViewAdapter.Provider](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter.Provider), or null for no title view. <br /> |

### onPause

```
void onPause ()
```

<br />

<br />

### onResume

```
void onResume ()
```

<br />

<br />

### onSaveInstanceState

```
void onSaveInstanceState (Bundle outState)
```

<br />

<br />

|         Parameters          ||
|------------|-----------------|
| `outState` | `Bundle` <br /> |

### onStart

```
void onStart ()
```

<br />

<br />

### onViewCreated

```
void onViewCreated (View view, 
                Bundle savedInstanceState)
```

<br />

<br />

|              Parameters               ||
|----------------------|-----------------|
| `view`               | `View` <br />   |
| `savedInstanceState` | `Bundle` <br /> |

### setBadgeDrawable

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setBadgeDrawable (Drawable drawable)
```

Sets the drawable displayed in the fragment title.

<br />

|                                  Parameters                                   ||
|------------|-------------------------------------------------------------------|
| `drawable` | `Drawable`: The Drawable to display in the fragment title. <br /> |

### setOnSearchClickedListener

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setOnSearchClickedListener (View.OnClickListener listener)
```

Sets a click listener for the search affordance.

The presence of a listener will change the visibility of the search affordance in the fragment title. When set to non-null, the title will contain an element that a user may click to begin a search.

The listener's[onClick](https://developer.android.com/reference/android/view/View.OnClickListener.html#onClick(android.view.View))method will be invoked when the user clicks on the search element.

<br />

|                                             Parameters                                              ||
|------------|-----------------------------------------------------------------------------------------|
| `listener` | `View.OnClickListener`: The listener to call when the search element is clicked. <br /> |

### setSearchAffordanceColor

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setSearchAffordanceColor (int color)
```

Sets the color used to draw the search affordance. A default brighter color will be set by the framework.

<br />

|                             Parameters                             ||
|---------|-----------------------------------------------------------|
| `color` | `int`: The color to use for the search affordance. <br /> |

### setSearchAffordanceColors

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setSearchAffordanceColors (SearchOrbView.Colors colors)
```

Sets the[SearchOrbView.Colors](https://developer.android.com/reference/android/support/v17/leanback/widget/SearchOrbView.Colors)used to draw the search affordance.

<br />

|                                   Parameters                                    ||
|----------|-----------------------------------------------------------------------|
| `colors` | `SearchOrbView.Colors`: Colors used to draw search affordance. <br /> |

### setTitle

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setTitle (CharSequence title)
```

Sets title text for the fragment.

<br />

|                           Parameters                            ||
|---------|--------------------------------------------------------|
| `title` | `CharSequence`: The title text of the fragment. <br /> |

### setTitleView

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setTitleView (View titleView)
```

Sets the view that implemented[TitleViewAdapter](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter).

<br />

|                                                                                        Parameters                                                                                        ||
|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `titleView` | `View`: The view that implemented[TitleViewAdapter.Provider](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter.Provider). <br /> |

### showTitle

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void showTitle (int flags)
```

Changes title view's components visibility and shows title.

<br />

|                                        Parameters                                         ||
|---------|----------------------------------------------------------------------------------|
| `flags` | `int`: Flags representing the visibility of components inside title view. <br /> |

**See also:**

- [SEARCH_VIEW_VISIBLE](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter#SEARCH_VIEW_VISIBLE)
- [BRANDING_VIEW_VISIBLE](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter#BRANDING_VIEW_VISIBLE)
- [FULL_VIEW_VISIBLE](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter#FULL_VIEW_VISIBLE)
- [updateComponentsVisibility(int)](https://developer.android.com/reference/android/support/v17/leanback/widget/TitleViewAdapter#updateComponentsVisibility(int))  

### showTitle

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void showTitle (boolean show)
```

Shows or hides the title view.

<br />

|                                  Parameters                                  ||
|--------|----------------------------------------------------------------------|
| `show` | `boolean`: True to show title view, false to hide title view. <br /> |

-

  ## Interfaces

  - [BrowseFragment.FragmentHost](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment.FragmentHost)
  - [BrowseFragment.MainFragmentAdapterProvider](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment.MainFragmentAdapterProvider)
  - [BrowseFragment.MainFragmentRowsAdapterProvider](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment.MainFragmentRowsAdapterProvider)
  - [BrowseSupportFragment.FragmentHost](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment.FragmentHost)
  - [BrowseSupportFragment.MainFragmentAdapterProvider](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment.MainFragmentAdapterProvider)
  - [BrowseSupportFragment.MainFragmentRowsAdapterProvider](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment.MainFragmentRowsAdapterProvider)
  - [HeadersFragment.OnHeaderClickedListener](https://developer.android.com/reference/android/support/v17/leanback/app/HeadersFragment.OnHeaderClickedListener)
  - [HeadersFragment.OnHeaderViewSelectedListener](https://developer.android.com/reference/android/support/v17/leanback/app/HeadersFragment.OnHeaderViewSelectedListener)
  - [HeadersSupportFragment.OnHeaderClickedListener](https://developer.android.com/reference/android/support/v17/leanback/app/HeadersSupportFragment.OnHeaderClickedListener)
  - [HeadersSupportFragment.OnHeaderViewSelectedListener](https://developer.android.com/reference/android/support/v17/leanback/app/HeadersSupportFragment.OnHeaderViewSelectedListener)
  - [SearchFragment.SearchResultProvider](https://developer.android.com/reference/android/support/v17/leanback/app/SearchFragment.SearchResultProvider)
  - [SearchSupportFragment.SearchResultProvider](https://developer.android.com/reference/android/support/v17/leanback/app/SearchSupportFragment.SearchResultProvider)
-

  ## Classes

  - [BackgroundManager](https://developer.android.com/reference/android/support/v17/leanback/app/BackgroundManager)
  - [BaseFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BaseFragment)
  - [BaseSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BaseSupportFragment)
  - [BrandedFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedFragment)
  - [BrandedSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BrandedSupportFragment)
  - [BrowseFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment)
  - [BrowseFragment.BrowseTransitionListener](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment.BrowseTransitionListener)
  - [BrowseFragment.FragmentFactory](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment.FragmentFactory)
  - [BrowseFragment.ListRowFragmentFactory](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment.ListRowFragmentFactory)
  - [BrowseFragment.MainFragmentAdapter](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment.MainFragmentAdapter)
  - [BrowseFragment.MainFragmentAdapterRegistry](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment.MainFragmentAdapterRegistry)
  - [BrowseFragment.MainFragmentRowsAdapter](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseFragment.MainFragmentRowsAdapter)
  - [BrowseSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment)
  - [BrowseSupportFragment.BrowseTransitionListener](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment.BrowseTransitionListener)
  - [BrowseSupportFragment.FragmentFactory](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment.FragmentFactory)
  - [BrowseSupportFragment.ListRowFragmentFactory](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment.ListRowFragmentFactory)
  - [BrowseSupportFragment.MainFragmentAdapter](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment.MainFragmentAdapter)
  - [BrowseSupportFragment.MainFragmentAdapterRegistry](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment.MainFragmentAdapterRegistry)
  - [BrowseSupportFragment.MainFragmentRowsAdapter](https://developer.android.com/reference/android/support/v17/leanback/app/BrowseSupportFragment.MainFragmentRowsAdapter)
  - [DetailsFragment](https://developer.android.com/reference/android/support/v17/leanback/app/DetailsFragment)
  - [DetailsFragmentBackgroundController](https://developer.android.com/reference/android/support/v17/leanback/app/DetailsFragmentBackgroundController)
  - [DetailsSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/DetailsSupportFragment)
  - [DetailsSupportFragmentBackgroundController](https://developer.android.com/reference/android/support/v17/leanback/app/DetailsSupportFragmentBackgroundController)
  - [ErrorFragment](https://developer.android.com/reference/android/support/v17/leanback/app/ErrorFragment)
  - [ErrorSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/ErrorSupportFragment)
  - [GuidedStepFragment](https://developer.android.com/reference/android/support/v17/leanback/app/GuidedStepFragment)
  - [GuidedStepSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/GuidedStepSupportFragment)
  - [HeadersFragment](https://developer.android.com/reference/android/support/v17/leanback/app/HeadersFragment)
  - [HeadersSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/HeadersSupportFragment)
  - [OnboardingFragment](https://developer.android.com/reference/android/support/v17/leanback/app/OnboardingFragment)
  - [OnboardingSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/OnboardingSupportFragment)
  - [PlaybackFragment](https://developer.android.com/reference/android/support/v17/leanback/app/PlaybackFragment)
  - [PlaybackFragmentGlueHost](https://developer.android.com/reference/android/support/v17/leanback/app/PlaybackFragmentGlueHost)
  - [PlaybackSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/PlaybackSupportFragment)
  - [PlaybackSupportFragmentGlueHost](https://developer.android.com/reference/android/support/v17/leanback/app/PlaybackSupportFragmentGlueHost)
  - [ProgressBarManager](https://developer.android.com/reference/android/support/v17/leanback/app/ProgressBarManager)
  - [RowsFragment](https://developer.android.com/reference/android/support/v17/leanback/app/RowsFragment)
  - [RowsFragment.MainFragmentAdapter](https://developer.android.com/reference/android/support/v17/leanback/app/RowsFragment.MainFragmentAdapter)
  - [RowsFragment.MainFragmentRowsAdapter](https://developer.android.com/reference/android/support/v17/leanback/app/RowsFragment.MainFragmentRowsAdapter)
  - [RowsSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/RowsSupportFragment)
  - [RowsSupportFragment.MainFragmentAdapter](https://developer.android.com/reference/android/support/v17/leanback/app/RowsSupportFragment.MainFragmentAdapter)
  - [RowsSupportFragment.MainFragmentRowsAdapter](https://developer.android.com/reference/android/support/v17/leanback/app/RowsSupportFragment.MainFragmentRowsAdapter)
  - [SearchFragment](https://developer.android.com/reference/android/support/v17/leanback/app/SearchFragment)
  - [SearchSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/SearchSupportFragment)
  - [VerticalGridFragment](https://developer.android.com/reference/android/support/v17/leanback/app/VerticalGridFragment)
  - [VerticalGridSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/VerticalGridSupportFragment)
  - [VideoFragment](https://developer.android.com/reference/android/support/v17/leanback/app/VideoFragment)
  - [VideoFragmentGlueHost](https://developer.android.com/reference/android/support/v17/leanback/app/VideoFragmentGlueHost)
  - [VideoSupportFragment](https://developer.android.com/reference/android/support/v17/leanback/app/VideoSupportFragment)
  - [VideoSupportFragmentGlueHost](https://developer.android.com/reference/android/support/v17/leanback/app/VideoSupportFragmentGlueHost)