BrandedSupportFragment

open class BrandedSupportFragment : Fragment
kotlin.Any
   ↳ androidx.fragment.app.Fragment
   ↳ androidx.leanback.app.BrandedSupportFragment

Fragment class for managing search and branding using a view that implements TitleViewAdapter.Provider.

Summary

Public constructors

Fragment class for managing search and branding using a view that implements TitleViewAdapter.Provider.

Public methods
open Drawable!

Returns the badge drawable used in the fragment title.

open Int

Returns the color used to draw the search affordance.

open SearchOrbView.Colors!

Returns the androidx.leanback.widget.SearchOrbView.Colors used to draw the search affordance.

open CharSequence!

Returns the title text for the fragment.

open View!

Returns the view that implements TitleViewAdapter.Provider.

open TitleViewAdapter!

Returns the TitleViewAdapter implemented by title view.

open Unit
installTitleView(inflater: LayoutInflater!, parent: ViewGroup!, savedInstanceState: Bundle!)

Inflate title view and add to parent.

Boolean

Returns true/false to indicate the visibility of TitleView.

open Unit

open View!
onInflateTitleView(inflater: LayoutInflater!, parent: ViewGroup!, savedInstanceState: Bundle!)

Called by installTitleView(LayoutInflater, ViewGroup, Bundle) to inflate title view.

open Unit

open Unit

open Unit

open Unit

open Unit
onViewCreated(@NonNull view: View, @Nullable savedInstanceState: Bundle?)

open Unit

Sets the drawable displayed in the fragment title.

open Unit

Sets a click listener for the search affordance.

open Unit

Sets the color used to draw the search affordance.

open Unit

Sets the androidx.leanback.widget.SearchOrbView.Colors used to draw the search affordance.

open Unit

Sets title text for the fragment.

open Unit
setTitleView(titleView: View!)

Sets the view that implemented TitleViewAdapter.

open Unit

Shows or hides the title view.

open Unit
showTitle(flags: Int)

Changes title view's components visibility and shows title.

Inherited functions