Inherited extension functions |
From androidx.compose.foundation.layout
Modifier |
Offset the content by (x dp, y dp).
|
Modifier |
Offset the content by offset px.
|
Modifier |
|
Modifier |
Apply additional space along each edge of the content in Dp: left, top, right and
bottom.
|
Modifier |
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 .
|
Modifier |
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 .
|
Modifier |
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.
|
Modifier |
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.
|
Modifier |
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.
|
Modifier |
Declare the height of the content to be exactly heightdp.
|
Modifier |
Constrain the height of the content to be between mindp and maxdp.
|
Modifier |
Offset the content by (x dp, y dp).
|
Modifier |
Offset the content by offset px.
|
Modifier |
|
Modifier |
Apply additional space along each edge of the content in Dp: start, top, end and
bottom.
|
Modifier |
Apply horizontal dp space along the left and right edges of the content, and vertical dp
space along the top and bottom edges.
|
Modifier |
Apply all dp of additional space along each edge of the content, left, top, right and bottom.
|
Modifier |
Apply PaddingValues to the component as additional space along each edge of the content's left,
top, right and bottom.
|
Modifier |
A Modifier that can add padding to position the content according to specified distances
from its bounds to an alignment line.
|
Modifier |
A Modifier that can add padding to position the content according to specified distances
from its bounds to an alignment line.
|
Modifier |
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 content
is top, and the distance from the
baseline of the last line of text in the content to the bottom of the layout
is bottom.
|
Modifier |
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 content
is top, and the distance from the
baseline of the last line of text in the content to the bottom of the layout
is bottom.
|
Modifier |
Declare the preferred height of the content to be the same as the min or max intrinsic height of
the content.
|
Modifier |
Declare the preferred height of the content to be exactly heightdp.
|
Modifier |
Constrain the height of the content to be between mindp and maxdp as permitted
by the incoming measurement Constraints.
|
Modifier |
Declare the preferred size of the content to be exactly sizedp square.
|
Modifier |
Declare the preferred size of the content to be exactly widthdp by heightdp.
|
Modifier |
Constrain the width of the content to be between minWidthdp and maxWidthdp and the height
of the content to be between minHeight and maxHeight as permitted by the incoming
measurement Constraints.
|
Modifier |
Declare the preferred width of the content to be the same as the min or max intrinsic width of
the content.
|
Modifier |
Declare the preferred width of the content to be exactly widthdp.
|
Modifier |
Constrain the width of the content to be between mindp and maxdp as permitted
by the incoming measurement Constraints.
|
Modifier |
|
Modifier |
Declare the size of the content to be exactly sizedp width and height.
|
Modifier |
Declare the size of the content to be exactly widthdp and heightdp.
|
Modifier |
Modifier.sizeIn(minWidth: Dp = Dp.Unspecified, minHeight: Dp = Dp.Unspecified, maxWidth: Dp = Dp.Unspecified, maxHeight: Dp = Dp.Unspecified)
Constrain the width of the content to be between minWidthdp and maxWidthdp, and the
height of the content to be between minHeightdp and maxHeightdp.
|
Modifier |
Declare the width of the content to be exactly widthdp.
|
Modifier |
Constrain the width of the content to be between mindp and maxdp.
|
Modifier |
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.
|
Modifier |
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.
|
Modifier |
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.
|
|
From androidx.compose.ui.draw
Modifier |
Draw content with modified alpha that may be less than 1.
|
Modifier |
Clip the content to shape.
|
Modifier |
Clip the content to the bounds of a layer defined at this modifier.
|
Modifier |
Draw content with modified alpha that may be less than 1.
|
Modifier |
Creates a GraphicsLayerModifier that draws the shadow.
|
Modifier |
Paint the content using painter.
|
Modifier |
Sets the degrees the view is rotated around the center of the composable.
|
Modifier |
Scale the contents of the composable by the following scale factors along the horizontal
and vertical axis respectively.
|
Modifier |
Scale the contents of both the horizontal and vertical axis uniformly by the same scale factor.
|
Modifier |
Creates a GraphicsLayerModifier that draws the shadow.
|
|
From androidx.compose.animation
Modifier |
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.
|
|
From androidx.compose.foundation
Modifier |
Draws shape with a solid color behind the content.
|
Modifier |
Draws shape with brush behind the content.
|
Modifier |
Modify element to add border with appearance specified with a border and a shape, pad the
content by the BorderStroke.width and clip it.
|
Modifier |
Returns a Modifier that adds border with appearance specified with width, color and a
shape, pads the content by the width and clips it.
|
Modifier |
Returns a Modifier that adds border with appearance specified with width, brush and a
shape, pads the content by the width and clips it.
|
Modifier |
Configure component to receive clicks via input or accessibility "click" event.
|
Modifier |
Configure component to be focusable via focus system or accessibility "focus" event.
|
Modifier |
Modify element to allow to scroll horizontally when width of the content is bigger than max
constraints allow.
|
Modifier |
Show visual indicator for an InteractionState.
|
Modifier |
Contains the semantics required for a determinate progress indicator, that represents progress
ranging from 0.
|
Modifier |
Contains the semantics required for an indeterminate progress indicator, that represents the
fact of the in-progress operation.
|
Modifier |
Modify element to allow to scroll vertically when height of the content is bigger than max
constraints allow.
|
|
From androidx.compose.ui.semantics
Modifier |
Clears the semantics of all the descendant nodes and sets new semantics.
|
Modifier |
Add semantics key/value pairs to the layout node, for use in testing, accessibility, etc.
|
|
From androidx.compose.ui
Modifier |
Declare a just-in-time composition of a Modifier that will be composed for each element it
modifies.
|
Modifier |
Modifier.drawLayer(scaleX: Float = 1f, scaleY: Float = 1f, alpha: Float = 1f, translationX: Float = 0f, translationY: Float = 0f, shadowElevation: Float = 0f, rotationX: Float = 0f, rotationY: Float = 0f, rotationZ: Float = 0f, cameraDistance: Float = DefaultCameraDistance, transformOrigin: TransformOrigin = TransformOrigin.Center, shape: Shape = RectangleShape, clip: Boolean = false)
A Modifier.Element that makes content draw into a draw layer.
|
Modifier |
Add this modifier to a component to make it focusable.
|
Modifier |
Add this modifier to a component to observe focus state changes.
|
Modifier |
Add this modifier to a component to observe changes to focus state.
|
Modifier |
Creates a modifier that controls the drawing order for the children of the same layout parent.
|
|
From androidx.compose.ui.gesture
Modifier |
Responds to pointers going down and up (tap) and then down and up again (another tap)
with minimal gap of time between the first up and the second down.
|
Modifier |
This gesture detector detects dragging in any direction.
|
Modifier |
This gesture filter detects when the average distance change of all pointers surpasses the touch
slop.
|
Modifier |
This gesture detector detects dragging in any direction, but only after a long press has first
occurred.
|
Modifier |
Responds to a pointer being "down" for an extended amount of time.
|
Modifier |
This gesture detector has callbacks for when a press gesture starts and ends for the purposes of
displaying visual feedback for those two states.
|
Modifier |
This gesture detector detects dragging in any direction.
|
Modifier |
Reacts if the first pointer input change it sees is an unconsumed down change, and if it reacts,
consumes all further down changes.
|
Modifier |
This gesture detector detects scaling.
|
Modifier |
This gesture detector detects scaling.
|
Modifier |
This gesture detector detects when a user's pointer input is intended to include scaling.
|
Modifier |
Like Modifier.dragGestureFilter, this gesture filter will detect dragging, but will only do
so along the given orientation.
|
Modifier |
This gesture detector fires a callback when a traditional press is being released.
|
|
From androidx.compose.foundation.gestures
Modifier |
Configure touch dragging for the UI element in a single Orientation.
|
Modifier |
Configure touch scrolling and flinging for the UI element in a single Orientation.
|
Modifier |
Enable zooming of the modified UI element.
|
Modifier |
Enable zooming of the modified UI element.
|
|
From androidx.compose.ui.graphics
Modifier |
Modifier.graphicsLayer(scaleX: Float = 1f, scaleY: Float = 1f, alpha: Float = 1f, translationX: Float = 0f, translationY: Float = 0f, shadowElevation: Float = 0f, rotationX: Float = 0f, rotationY: Float = 0f, rotationZ: Float = 0f, cameraDistance: Float = DefaultCameraDistance, transformOrigin: TransformOrigin = TransformOrigin.Center, shape: Shape = RectangleShape, clip: Boolean = false)
A Modifier.Element that makes content draw into a draw layer.
|
Modifier |
A Modifier.Element that makes content draw into a draw layer.
|
|
From androidx.compose.ui.input.key
|
From androidx.compose.ui.layout
|
From androidx.compose.foundation.text
Modifier |
Constraint the height of the text field so that it vertically occupies no more than maxLines
number of lines.
|
|
From androidx.compose.ui.gesture.nestedscroll
Modifier |
Modify element to make it participate in the nested scrolling hierarchy.
|
|
From androidx.compose.ui.focus
Modifier |
Add this modifier to a component to observe focus state events.
|
Modifier |
Add this modifier to a component to observe focus state events.
|
|
From androidx.compose.ui.input.pointer
Modifier |
Create a modifier for processing pointer input within the region of the modified element.
|
Modifier |
A special PointerInputModifier that provides access to the underlying MotionEvents originally
dispatched to Compose.
|
|
From androidx.compose.foundation.selection
Modifier |
Configure component to be selectable, usually as a part of a mutually exclusive group, where
only one item can be selected at any point in time.
|
Modifier |
Configure component to make it toggleable via input and accessibility events
|
Modifier |
Configure component to make it toggleable via input and accessibility events with three
states: On, Off and Indeterminate.
|
|
From androidx.compose.material
Modifier |
Modifier.swipeable(state: SwipeableState<T>, anchors: Map<Float, T>, orientation: Orientation, enabled: Boolean = true, reverseDirection: Boolean = false, interactionState: InteractionState? = null, thresholds: (from: T, to: T) -> ThresholdConfig = { _, _ -> FixedThreshold(56.dp) }, resistance: ResistanceConfig? = resistanceConfig(anchors.keys), velocityThreshold: Dp = VelocityThreshold)
Enable swipe gestures between a set of predefined states.
|
|
From androidx.compose.ui.platform
Modifier |
Applies a tag to allow modified element to be found in tests.
|
|