Layout Params
Layout parameters for ContextualToolbars added to ToolbarCoordinatorLayout.
Constructors
Link copied to clipboard
constructor(@NonNull position: ToolbarCoordinatorLayout.LayoutParams.Position, @NonNull allowedPositions: EnumSet<ToolbarCoordinatorLayout.LayoutParams.Position>)
Creates layout parameters for adding view to the ContextualToolbar.
Creates layout parameters for adding view to the ContextualToolbar.
Properties
Link copied to clipboard
Allowed positions for pinning the toolbar to the sides when dragging.
Link copied to clipboard
The default position for toolbars when no position is specified.
Link copied to clipboard
Position currently forced on the layout due to the lack of space (if any).
Link copied to clipboard
Position of the toolbar in the coordinator layout.