NavigationBarMenuView

SESL variant

Provides a view that will be use to render a menu view inside a NavigationBarView.

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)

Types

Link copied to clipboard
open class InternalBtnInfo

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var itemGravity: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Px
open var itemPaddingBottom: Int
Link copied to clipboard
@get:Px
open var itemPaddingTop: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var labelMaxLines: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun buildMenuView()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the distance between the item's active indicator container and the label.
Link copied to clipboard
open fun getBadge(menuItemId: Int): BadgeDrawable
Link copied to clipboard
Returns the tint which is applied for the menu item labels.
Link copied to clipboard
Returns the text color used for menu item labels.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getViewType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hideOverflowMenu()
Link copied to clipboard
open fun initialize(@NonNull menu: MenuBuilder)
Link copied to clipboard
open fun isExpanded(): Boolean
Returns the current expanded state.
Link copied to clipboard
open fun onConfigurationChanged(configuration: Configuration)
Link copied to clipboard
open fun seslAddBadge(str: String, i: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun seslRemoveBadge(menuItemId: Int)
Link copied to clipboard
open fun seslSetLabelTextAppearance(textAppearanceResId: Int)
Link copied to clipboard
open fun setActiveIndicatorLabelPadding(@Px activeIndicatorLabelPadding: Int)
Set the distance between the active indicator container and the item's label.
Link copied to clipboard
open fun setBackgroundColorDrawable(colorDrawable: ColorDrawable)
Link copied to clipboard
open fun setCheckedItem(@NonNull checkedItem: MenuItem)
Set the checked item in the menu view.
Link copied to clipboard
open fun setCollapsedMaxItemCount(collapsedMaxCount: Int)
Link copied to clipboard
open fun setExpanded(expanded: Boolean)
Set the current expanded state.
Link copied to clipboard
open fun setGroupDividerEnabled(enabled: Boolean)
Link copied to clipboard
Sets the tint which is applied to the menu items' icons.
Link copied to clipboard
open fun setItemActiveIndicatorExpandedPadding(paddingLeft: Int, paddingTop: Int, paddingRight: Int, paddingBottom: Int)
Set the padding of the expanded active indicator wrapping the content.
Link copied to clipboard
open fun setItemOnTouchListener(menuItemId: Int, @Nullable onTouchListener: View.OnTouchListener)
Sets an android.view.View.OnTouchListener for the item view associated with the provided menuItemId.
Link copied to clipboard
Link copied to clipboard
Sets whether the active menu item label is bold.
Link copied to clipboard
Sets the text color to be used for the menu item labels.
Link copied to clipboard
open fun setLabelFontScalingEnabled(scaleLabelWithFont: Boolean)
Link copied to clipboard
open fun setMaxItemCount(maxItemCount: Int)
Link copied to clipboard
open fun setMeasurePaddingFromLabelBaseline(measurePaddingFromLabelBaseline: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setSubmenuDividersEnabled(dividersEnabled: Boolean)
Link copied to clipboard
open fun setViewType(viewType: Int)
Link copied to clipboard
open fun showOverflowMenu()
Link copied to clipboard
open fun updateActiveIndicator(availableWidth: Int)
Link copied to clipboard
Link copied to clipboard
open fun updateMenuView()