Floating Pane View
Represents a floating pane view in Samsung One UI that can be displayed in different docking modes (Bottom, Side, Floating) and can be minimized. Handles touch gestures for drag-moving, edge-resizing, mode changes, and haptic feedback.
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
Properties
Functions
Adds a callback to be notified of floating pane events.
Changes the pane's layout mode (floating / bottom / side).
Enters or exits the minimize view.
Returns the top limit size, typically the height reserved for the status bar.
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 bottom inset used when the pane is minimized in bottom mode.
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.