Floating Toolbar Layout
Floating toolbar layout container integrating a Toolbar and optional action mode bar.
Manages item projection backgrounds, title alpha transitions synchronized with AppBarLayout states, and selection view animations.
Parameters
The Context the view is running in.
The attributes of the XML tag inflating the view.
Default style attribute for styling.
Types
FloatingAware implementation for FloatingToolbarLayout that inspects toolbar nav buttons, custom views, and menu views to place item projection background bounds.
CoordinatorLayout Behavior for FloatingToolbarLayout managing scroll events and title alpha transitions.
Properties
Custom FloatingAware implementation providing reference views and bounds insets for item projection. Ensure that the relevant reference views are already visible when invoking this.
true if action mode is currently active and visible.
Functions
Registers a view ID whose alpha is synchronized with the toolbar title alpha.
Forces hiding a specific projection background type.
Empty override as toolbar layout bounds are managed via scrollable options.
Configures scrollable bounds and offsets for attached scrollable views.
Returns the inflated action mode bar view if available.
Returns the CoordinatorLayout behavior managing scroll and app bar offset events.
Determines if scrollable view state allows app bar hide transitions.
Checks if blur views require invalidation based on toolbar and projection view alpha.
Reacts to AppBarLayout scroll offset changes to update top/bottom fading edges and title alpha.
Unregisters a custom title view ID.
Restores visibility for a hidden projection background type.
Empty override as toolbar elevation padding is handled by child items.
Animates the toolbar title and custom title views' alpha.
Evaluates current AppBarLayout collapse offset and updates title alpha accordingly.