Added in API level 11
Deprecated in API level 21

FragmentBreadCrumbs


open class FragmentBreadCrumbs : ViewGroup, FragmentManager.OnBackStackChangedListener
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.app.FragmentBreadCrumbs

Helper class for showing "bread crumbs" representing the fragment stack in an activity. This is intended to be used with ActionBar.setCustomView(View) to place the bread crumbs in the action bar.

The default style for this view is android.R.style#Widget_FragmentBreadCrumbs.

Summary

Nested classes
abstract

Interface to intercept clicks on the bread crumbs.

Inherited XML attributes
Inherited constants
Public constructors

FragmentBreadCrumbs(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Public methods
open Unit

open Unit

Attach the bread crumbs to their activity.

open Unit
setMaxVisible(visibleCrumbs: Int)

The maximum number of breadcrumbs to show.

open Unit

Sets a listener for clicks on the bread crumbs.

open Unit
setParentTitle(title: CharSequence!, shortTitle: CharSequence!, listener: View.OnClickListener!)

Inserts an optional parent entry at the first position in the breadcrumbs.

open Unit
setTitle(title: CharSequence!, shortTitle: CharSequence!)

Set a custom title for the bread crumbs.

Protected methods
open Unit
onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int)

open Unit
onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)

Inherited functions