NavigationBarItemView

------SESL variant------ Provides a view that will be used to render destination items inside a .

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, defStyleAttr: Int)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, viewType: Int)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int, viewType: Int)

Properties

Link copied to clipboard
Link copied to clipboard
open var itemPosition: Int

Functions

Link copied to clipboard
Link copied to clipboard
Get the drawable used as the active indicator.
Link copied to clipboard
Link copied to clipboard
open fun getViewType(): Int
Link copied to clipboard
open fun initialize(@NonNull itemData: MenuItemImpl, menuType: Int)
Link copied to clipboard
Link copied to clipboard
open fun onCreateDrawableState(extraSpace: Int): Array<Int>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun seslSetLabelTextAppearance(@StyleRes labelTextAppearance: Int)
Link copied to clipboard
open fun setActiveIndicatorDrawable(@Nullable activeIndicatorDrawable: Drawable)
Set the drawable to be used as the active indicator.
Link copied to clipboard
Set whether or not this item should show an active indicator when checked.
Link copied to clipboard
open fun setActiveIndicatorHeight(height: Int)
Set the desired height of the active indicator.
Link copied to clipboard
open fun setActiveIndicatorLabelPadding(activeIndicatorLabelPadding: Int)
Set the padding between the active indicator container and the item label.
Link copied to clipboard
open fun setActiveIndicatorMarginHorizontal(@Px marginHorizontal: Int)
Set the horizontal margin that will be maintained at the start and end of the active indicator, making sure the indicator remains the given distance from the edge of this item view.
Link copied to clipboard
Set whether the indicator can be automatically resized.
Link copied to clipboard
open fun setActiveIndicatorWidth(width: Int)
Set the desired width of the active indicator.
Link copied to clipboard
open fun setBadgeNumberless(isNumberless: Boolean)
Link copied to clipboard
open fun setCheckable(checkable: Boolean)
Link copied to clipboard
open fun setChecked(checked: Boolean)
Link copied to clipboard
open fun setEnabled(enabled: Boolean)
Link copied to clipboard
open fun setIcon(@Nullable iconDrawable: Drawable)
Link copied to clipboard
open fun setIconSize(iconSize: Int)
Link copied to clipboard
Link copied to clipboard
open fun setItemBackground(@Nullable background: Drawable)
open fun setItemBackground(background: Int)
Link copied to clipboard
open fun setItemPaddingBottom(paddingBottom: Int)
Set the padding applied to the labels from the bottom of the item view.
Link copied to clipboard
open fun setItemPaddingTop(paddingTop: Int)
Set the padding applied to the icon/active indicator container from the top of the item view.
Link copied to clipboard
open fun setItemRippleColor(@Nullable itemRippleColor: ColorStateList)
Link copied to clipboard
open fun setLabelVisibilityMode(mode: Int)
Link copied to clipboard
open fun setShifting(shifting: Boolean)
Link copied to clipboard
open fun setShortcut(showShortcut: Boolean, shortcutKey: Char)
Link copied to clipboard
open fun setTextAppearanceActive(@StyleRes activeTextAppearance: Int)
Link copied to clipboard
open fun setTextAppearanceInactive(@StyleRes inactiveTextAppearance: Int)
Link copied to clipboard
Link copied to clipboard
open fun setTitle(@Nullable title: CharSequence)
Link copied to clipboard
open fun showsIcon(): Boolean
Link copied to clipboard