RemoteCollapsibleRow
Source set: Android
@Composable
public fun RemoteCollapsibleRow(
modifier: RemoteModifier = RemoteModifier,
horizontalArrangement: RemoteArrangement.Horizontal = RemoteArrangement.Start,
verticalAlignment: RemoteAlignment.Vertical = RemoteAlignment.Top,
content: @Composable RemoteCollapsibleRowScope.() -> Unit,
)
A collapsible row layout that organizes its children horizontally.
When available horizontal space is insufficient, children are hidden (collapsed) rather than shrunk or wrapped. Children are hidden based on their RemoteCollapsibleRowScope.collapsiblePriority, with lower priority items being hidden first. Children without priority set have the highest priority.
Children can be configured with RemoteCollapsibleRowScope.weight and RemoteCollapsibleRowScope.collapsiblePriority to control how they behave when the row is collapsed.
Parameters
| modifier | The modifier to apply to this layout. |
| horizontalArrangement | The horizontal arrangement of the children. |
| verticalAlignment | The vertical alignment of the children. |
| content | The children of the row. |