ContextualToolbarSubMenu

This view is a component of contextual toolbar. It represents a submenu. The contextual toolbar will display items in this submenu below the main menu bar.

Note: This view wraps ContextualToolbarMenuBar in a horizontal or vertical scroll view (depending on its position). This allows to display more ContextualToolbarMenuItems than fits the toolbar width.

Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, attrs: AttributeSet)
constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int)

Properties

Link copied to clipboard
Menu bar holding the submenu items.

Functions

Link copied to clipboard
open fun hideMenuItems(animate: Boolean): Completable
Link copied to clipboard
open fun removeAllViews()
Link copied to clipboard
open fun setBackgroundColor(color: Int)
Link copied to clipboard
open fun setBorderAndBackroundColor(borderColor: Int, backgroundColor: Int)
Link copied to clipboard
open fun setBorderColor(color: Int)
Link copied to clipboard
Sets menu items to the toolbar.
Link copied to clipboard
open fun showMenuItems(animate: Boolean): Completable