Floating Pane View
Represents a floating pane view that can be displayed in different modes (bottom, side, floating) and can be minimized. It handles touch events for moving, resizing, and changing modes.
Parameters
The context in which the view is created.
The parent layout that contains this floating pane view.
The attributes of the XML tag that is inflating the view.
An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.
Constructors
Functions
Adds a callback to be notified of floating pane events.
Enters or exits the minimize view.
Checks if the floating pane view is currently in a minimized state.
Removes all registered callbacks.
Removes a callback that was previously added.
Sets whether another minimize view exists. This is used to determine if alpha animations should be played when minimizing or un-minimizing.
Sets the height of the floating pane for a specific mode.
Sets the background resource for the result view in a specific mode.
Sets the width for a specific mode of the floating pane.
Sets the top limit size for the floating pane view. This method is used when the view is in certain modes like 'Bottom' or 'Side' to restrict how far up it can be moved or resized.