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 | |
---|---|
<init>() Fragment class for managing search and branding using a view that implements |
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 |
open CharSequence! |
getTitle() Returns the title text for the fragment. |
open View! |
Returns the view that implements |
open TitleViewAdapter! |
Returns the |
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 |
open Unit |
onPause() |
open Unit |
onResume() |
open Unit |
onSaveInstanceState(outState: Bundle) |
open Unit |
onStart() |
open Unit |
onViewCreated(@NonNull view: View, @Nullable savedInstanceState: Bundle?) |
open Unit |
setBadgeDrawable(drawable: Drawable!) Sets the drawable displayed in the fragment title. |
open Unit |
setOnSearchClickedListener(listener: OnClickListener!) Sets a click listener for the search affordance. |
open Unit |
setSearchAffordanceColor(color: Int) Sets the color used to draw the search affordance. |
open Unit |
Sets the |
open Unit |
setTitle(title: CharSequence!) Sets title text for the fragment. |
open Unit |
setTitleView(titleView: View!) Sets the view that implemented |
open Unit |