Contextual Toolbar Menu Bar
This view is a component of contextual toolbar. It is a bar holding ContextualToolbarMenuItems. If the item has a submenu, the contextual toolbar will display those items in a separate ContextualToolbarMenuBar below the main one.
Types
Link copied to clipboard
enum MenuItemPosition
Possible positions for toolbar menu items.
Properties
Link copied to clipboard
corner radius of the toolbar in pixels
Link copied to clipboard
Margin between menu items.
Link copied to clipboard
Width (if vertical) or height (if horizontal) of the toolbar, includes item padding
Link copied to clipboard
Padding on the sides of the menu bar (all 4 sides
Link copied to clipboard
Padding to be used for a text item at the very end of the toolbar
Link copied to clipboard
Height/width of the contextual toolbar items in dps.
Link copied to clipboard
The size of a toolbar row in pixels (used for layout calculations).
Functions
Link copied to clipboard
Estimates the number of menu items that can fit in the available space.
Link copied to clipboard
Returns a copy of currently set menu items.
Link copied to clipboard
Hides all menu items in the toolbar with an optional fade-out animation.
Link copied to clipboard
Handles touch events on the menu bar.
Link copied to clipboard
Sets the background color of the menu bar.
Link copied to clipboard
Sets both the border and background colors of the menu bar.
Link copied to clipboard
Sets the border color of the menu bar.
Link copied to clipboard
Sets whether this toolbar menu bar is used for displaying submenu or not.
Link copied to clipboard
Sets menu items to the toolbar.
Link copied to clipboard
Shows all menu items in the toolbar with an optional fade-in animation.