belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
BrandedSupportFragment
public
class
BrandedSupportFragment
extends Fragment
java.lang.Object | ||
↳ | android.support.v4.app.Fragment | |
↳ | android.support.v17.leanback.app.BrandedSupportFragment |
![]() |
![]() |
Fragment class for managing search and branding using a view that implements
TitleViewAdapter.Provider
.
Summary
Public constructors | |
---|---|
BrandedSupportFragment()
|
Public methods | |
---|---|
Drawable
|
getBadgeDrawable()
Returns the badge drawable used in the fragment title. |
int
|
getSearchAffordanceColor()
Returns the color used to draw the search affordance. |
SearchOrbView.Colors
|
getSearchAffordanceColors()
Returns the |
CharSequence
|
getTitle()
Returns the title text for the fragment. |
View
|
getTitleView()
Returns the view that implements |
TitleViewAdapter
|
getTitleViewAdapter()
Returns the |
void
|
installTitleView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState)
Inflate title view and add to parent. |
final
boolean
|
isShowingTitle()
Returns true/false to indicate the visibility of TitleView. |
void
|
onDestroyView()
Called when the view previously created by |
View
|
onInflateTitleView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState)
Called by |
void
|
onPause()
Called when the Fragment is no longer resumed. |
void
|
onResume()
Called when the fragment is visible to the user and actively running. |
|