Scope:
Any
|
This modifier animates its own size when its child modifier (or the child composable if it is already at the tail of the chain) changes size.
|
Scope:
Any
|
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.maxHeight
,
Constraints.minWidth
,
Constraints.minHeight
if
matchHeightConstraintsFirst
is
false
(which is the default), or
Constraints.maxHeight
,
Constraints.maxWidth
,
Constraints.minHeight
,
Constraints.minWidth
if
matchHeightConstraintsFirst
is
true
.
|
Scope:
Any
|
Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller.
|
Scope:
Any
|
Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller.
|
Scope:
Any
|
Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller.
|
Scope:
Any
|
Declare the preferred height of the content to be the same as the min or max intrinsic height of the content.
|
Scope:
Any
|
Declare the height of the content to be exactly the same as the min or max intrinsic height of the content.
|
Scope:
Any
|
Declare the width of the content to be exactly the same as the min or max intrinsic width of the content.
|
Scope:
Any
|
Declare the preferred width of the content to be the same as the min or max intrinsic width of the content.
|
Scope:
Any
|
Invoked with the size of the modified Compose UI element when the element is first measured or when the size of the element changes.
|
Scope:
Any
|
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 constraint is
0
.
|
Scope:
Any
|
Have the content fill (possibly only partially) the
Constraints.maxHeight
of the incoming measurement constraints, by setting the
minimum height
and the
maximum height
to be equal to the
maximum height
multiplied by
fraction
.
|
Scope:
Any
|
Have the content fill (possibly only partially) the
Constraints.maxWidth
and
Constraints.maxHeight
of the incoming measurement constraints, by setting the
minimum width
and the
maximum width
to be equal to the
maximum width
multiplied by
fraction
, as well as the
minimum height
and the
maximum height
to be equal to the
maximum height
multiplied by
fraction
.
|
Scope:
Any
|
Have the content fill (possibly only partially) the
Constraints.maxWidth
of the incoming measurement constraints, by setting the
minimum width
and the
maximum width
to be equal to the
maximum width
multiplied by
fraction
.
|
Scope:
Any
|
Declare the preferred height of the content to be exactly
height
dp.
|
Scope:
Any
|
Constrain the height of the content to be between
min
dp and
max
dp as permitted by the incoming measurement
Constraints
.
|
Scope:
Any
|
Declare the height of the content to be exactly
height
dp.
|
Scope:
Any
|
Constrain the height of the content to be between
min
dp and
max
dp.
|
Scope:
Any
|
Declare the size of the content to be exactly
size
dp width and height.
|
Scope:
Any
|
Declare the size of the content to be exactly
size
.
|
Scope:
Any
|
Declare the size of the content to be exactly
width
dp and
height
dp.
|
Scope:
Any
|
Constrain the width of the content to be between
minWidth
dp and
maxWidth
dp, and the height of the content to be between
minHeight
dp and
maxHeight
dp.
|
Scope:
Any
|
Declare the width of the content to be exactly
width
dp.
|
Scope:
Any
|
Constrain the width of the content to be between
min
dp and
max
dp.
|
Scope:
Any
|
Declare the preferred size of the content to be exactly
size
dp square.
|
Scope:
Any
|
Declare the preferred size of the content to be exactly
size
.
|
Scope:
Any
|
Declare the preferred size of the content to be exactly
width
dp by
height
dp.
|
Scope:
Any
|
Constrain the width of the content to be between
minWidth
dp and
maxWidth
dp and the height of the content to be between
minHeight
dp and
maxHeight
dp as permitted by the incoming measurement
Constraints
.
|
Scope:
Any
|
Declare the preferred width of the content to be exactly
width
dp.
|
Scope:
Any
|
Constrain the width of the content to be between
min
dp and
max
dp as permitted by the incoming measurement
Constraints
.
|
Scope:
Any
|
Allow the content to measure at its desired height without regard for the incoming measurement
minimum height constraint
, and, if
unbounded
is true, also without regard for the incoming measurement
maximum height constraint
.
|
Scope:
Any
|
Allow the content to measure at its desired size without regard for the incoming measurement
minimum width
or
minimum height
constraints, and, if
unbounded
is true, also without regard for the incoming maximum constraints.
|
Scope:
Any
|
Allow the content to measure at its desired width without regard for the incoming measurement
minimum width constraint
, and, if
unbounded
is true, also without regard for the incoming measurement
maximum width constraint
.
|
Scope:
Any
|
Modifier to set both the size and recommended touch target for
IconButton
and TextButton.
|
Scope:
Any
|
Sets the height to that of
insets
at the
bottom
of the screen.
|
Scope:
Any
|
Sets the width to that of
insets
at the
end
of the screen, using either
left
or
right
, depending on the
LayoutDirection
.
|
Scope:
Any
|
Sets the width to that of
insets
at the
start
of the screen, using either
left
or
right
, depending on the
LayoutDirection
.
|
Scope:
Any
|
Sets the height to that of
insets
at the
top
of the screen.
|
|
Size the element's width proportional to its
weight
relative to other weighted sibling elements in the
Row
.
|
|
Size the element's height proportional to its
weight
relative to other weighted sibling elements in the
Column
.
|
|
Size the element to match the size of the
Box
after all other content elements have been measured.
|
|
Have the content fill the
Constraints.maxHeight
of the incoming measurement constraints by setting the
minimum height
to be equal to the
maximum height
multiplied by
fraction
.
|
|
Have the content fill the
Constraints.maxWidth
and
Constraints.maxHeight
of the parent measurement constraints by setting the
minimum width
to be equal to the
maximum width
multiplied by
fraction
and the
minimum height
to be equal to the
maximum height
multiplied by
fraction
.
|
|
Have the content fill the
Constraints.maxWidth
of the parent measurement constraints by setting the
minimum width
to be equal to the
maximum width
multiplied by
fraction
.
|
|
Modifier which should be applied to an
ExposedDropdownMenu
placed inside the scope.
|
|
Modifier which should be applied to an
ExposedDropdownMenu
placed inside the scope.
|