-
absoluteOffset
Offset the content by (x dp, y dp).
-
absolutePadding
Apply additional space along each edge of the content in Dp: left, top, right and bottom.
-
aspectRatio
Attempts to size the content to match a specified aspect ratio by trying to match one of the incoming constraints in the following order: Constraints.maxWidth, Constraints.maxHeig…
-
captionBarPadding
Adds padding to accommodate the caption barWindowInsets.Companion.captionBar insets.
-
consumeWindowInsets
Consume insets that haven't been consumed yet by other insets Modifiers similar to windowInsetsPadding without adding any padding.
-
defaultMinSize
Constrain the size of the wrapped layout only when it would be otherwise unconstrained: the minWidth and minHeight constraints are only applied when the incoming corresponding con…
-
displayCutoutPadding
Adds padding to accommodate the display cutoutWindowInsets.Companion.displayCutout.
-
fillMaxHeight
Have the content fill (possibly only partially) the Constraints.maxHeight of the incoming measurement constraints, by setting the minimum heightConstraints.minHeight and the maxim…
-
fillMaxSize
Have the content fill (possibly only partially) the Constraints.maxWidth and Constraints.maxHeight of the incoming measurement constraints, by setting the minimum widthConstraints…
-
fillMaxWidth
Have the content fill (possibly only partially) the Constraints.maxWidth of the incoming measurement constraints, by setting the minimum widthConstraints.minWidth and the maximum…
-
fitInside
Fits the contents within rulers.
-
fitOutside
If one of the Rulers in rulers has a value within the bounds of the Layout, this sizes the content to that Ruler and the edge.
-
height
Declare the preferred height of the content to be the same as the min or max intrinsic height of the content.
-
heightIn
Constrain the height of the content to be between mindp and maxdp as permitted by the incoming measurement Constraints.
-
imeNestedScroll
Controls the soft keyboard as a nested scrolling on Android RBuild.VERSION_CODES.R and later.
-
imePadding
Adds padding to accommodate the imeWindowInsets.Companion.ime insets.
-
mandatorySystemGesturesPadding
Adds padding to accommodate the mandatory system gesturesWindowInsets.Companion.mandatorySystemGestures insets.
-
navigationBarsPadding
Adds padding to accommodate the navigation barsWindowInsets.Companion.navigationBars insets.
-
offset
Offset the content by (x dp, y dp).
-
onConsumedWindowInsetsChanged
Calls block with the WindowInsets that have been consumed, either by consumeWindowInsets or one of the padding Modifiers, such as imePadding.
-
padding
Apply additional space along each edge of the content in Dp: start, top, end and bottom.
-
paddingFrom
A Modifier that can add padding to position the content according to specified distances from its bounds to an alignment lineAlignmentLine.
-
paddingFromBaseline
A Modifier that positions the content in a layout such that the distance from the top of the layout to the baseline of the first line of text in the contentFirstBaseline is top, a…
-
recalculateWindowInsets
This recalculates the WindowInsets based on the size and position.
-
requiredHeight
Declare the height of the content to be exactly the same as the min or max intrinsic height of the content.
-
requiredHeightIn
Constrain the height of the content to be between mindp and maxdp.
-
requiredSize
Declare the size of the content to be exactly sizedp width and height.
-
requiredSizeIn
Constrain the width of the content to be between minWidthdp and maxWidthdp, and the height of the content to be between minHeightdp and maxHeightdp.
-
requiredWidth
Declare the width of the content to be exactly the same as the min or max intrinsic width of the content.
-
requiredWidthIn
Constrain the width of the content to be between mindp and maxdp.
-
safeContentPadding
Adds padding to accommodate the safe contentWindowInsets.Companion.safeContent insets.
-
safeDrawingPadding
Adds padding to accommodate the safe drawingWindowInsets.Companion.safeDrawing insets.
-
safeGesturesPadding
Adds padding to accommodate the safe gesturesWindowInsets.Companion.safeGestures insets.
-
size
Declare the preferred size of the content to be exactly sizedp square.
-
sizeIn
Constrain the width of the content to be between minWidthdp and maxWidthdp and the height of the content to be between minHeightdp and maxHeightdp as permitted by the incoming mea…
-
statusBarsPadding
Adds padding to accommodate the status barsWindowInsets.Companion.statusBars insets.
-
systemBarsPadding
Adds padding to accommodate the system barsWindowInsets.Companion.systemBars insets.
-
systemGesturesPadding
Adds padding to accommodate the system gesturesWindowInsets.Companion.systemGestures insets.
-
visible
A Modifier that controls the visibility of the Layout it is applied to.
-
waterfallPadding
Adds padding to accommodate the waterfallWindowInsets.Companion.waterfall insets.
-
width
Declare the preferred width of the content to be the same as the min or max intrinsic width of the content.
-
widthIn
Constrain the width of the content to be between mindp and maxdp as permitted by the incoming measurement Constraints.
-
windowInsetsBottomHeight
Sets the height to that of insets at the bottomWindowInsets.getBottom of the screen.
-
windowInsetsEndWidth
Sets the width to that of insets at the endandroidx.compose.ui.Alignment.End of the screen, using either leftWindowInsets.getLeft or rightWindowInsets.getRight, depending on the L…
-
windowInsetsPadding
Adds padding so that the content doesn't enter insets space.
-
windowInsetsStartWidth
Sets the width to that of insets at the startandroidx.compose.ui.Alignment.Start of the screen, using either leftWindowInsets.getLeft or rightWindowInsets.getRight, depending on t…
-
windowInsetsTopHeight
Sets the height to that of insets at the topWindowInsets.getTop of the screen.
-
wrapContentHeight
Allow the content to measure at its desired height without regard for the incoming measurement minimum height constraintConstraints.minHeight, and, if unbounded is true, also with…
-
wrapContentSize
Allow the content to measure at its desired size without regard for the incoming measurement minimum widthConstraints.minWidth or minimum heightConstraints.minHeight constraints,…
-
wrapContentWidth
Allow the content to measure at its desired width without regard for the incoming measurement minimum width constraintConstraints.minWidth, and, if unbounded is true, also without…
Last updated: