-
alpha
Draw content with modified alpha that may be less than 1.
-
approachLayout
Creates an approach layout intended to help gradually approach the destination layout calculated in the lookahead pass.
-
blur
Draw content blurred with the specified radii.
-
clearAndSetSemantics
Clears the semantics of all the descendant nodes and sets new semantics.
-
clip
Clip the content to shape.
-
clipToBounds
Clip the content to the bounds of a layer defined at this modifier.
-
composed
Declare a just-in-time composition of a Modifier that will be composed for each element it modifies.
-
contentType
Set autofill hint with contentType.
-
drawBehind
Draw into a Canvas behind the modified content.
-
drawWithCache
Draw into a DrawScope with content that is persisted across draw calls as long as the size of the drawing area is the same or any state objects that are read have not changed.
-
drawWithContent
Creates a DrawModifier that allows the developer to draw before or after the layout's contents.
-
dropShadow
Draws a drop shadow behind the rest of the content with the geometry specified by the given shape and the shadow properties defined by the Shadow.
-
focusModifier
Add this modifier to a component to make it focusable.
-
focusOrder
Use this modifier to specify a custom focus traversal order.
-
focusProperties
This modifier allows you to specify properties that are accessible to focusTargets further down the modifier chain or on child layout nodes.
-
focusRequester
Add this modifier to a component to request changes to focus.
-
focusRestorer
This modifier can be used to save and restore focus to a focus group.
-
focusTarget
Add this modifier to a component to make it focusable.
-
graphicsLayer
A [Modifier.
-
innerShadow
Draws an inner shadow on top of the rest of the content with the geometry specified by the given shape and the shadow properties defined by the Shadow.
-
inspectable
Use this to group a common set of modifiers and provide InspectorInfo for the resulting modifier.
-
keepScreenOn
A modifier that keeps the device screen on as long as it is part of the composition on supported platforms.
-
layout
Creates a LayoutModifier that allows changing how the wrapped element is measured and laid out.
-
layoutBounds
This will map the RelativeLayoutBounds of the modifier into the provided LayoutBoundsHolder.
-
layoutId
Tag the element with layoutId to identify the element within its parent.
-
modifierLocalConsumer
A Modifier that can be used to consume ModifierLocals that were provided by other modifiers to the left of this modifier, or above this modifier in the layout tree.
-
modifierLocalProvider
A Modifier that can be used to provide ModifierLocals that can be read by other modifiers to the right of this modifier, or modifiers that are children of the layout node that thi…
-
motionEventSpy
Calls watcher with each MotionEvent that the layout area or any child pointerInput receives.
-
nestedScroll
Modify element to make it participate in the nested scrolling hierarchy.
-
onFirstVisible
Registers a callback to monitor when the node is first inside of the viewport of the window or not.
-
onFocusChanged
Add this modifier to a component to observe focus state events.
-
onFocusEvent
Add this modifier to a component to observe focus state events.
-
onGloballyPositioned
Invoke onGloballyPositioned with the LayoutCoordinates of the element when the global position of the content may have changed.
-
onInterceptKeyBeforeSoftKeyboard
Adding this modifierModifier to the modifierModifier parameter of a component will allow it to intercept hardware key events before they are sent to the software keyboard.
-
onKeyEvent
Adding this modifierModifier to the modifierModifier parameter of a component will allow it to intercept hardware key events when it (or one of its children) is focused.
-
onLayoutRectChanged
Invokes callback with the position of this layout node relative to the coordinate system of the root of the composition, as well as in screen coordinates and window coordinates.
-
onPlaced
Invoke onPlaced after the parent LayoutModifier and parent layout has been placed and before child LayoutModifier is placed.
-
onPreInterceptKeyBeforeSoftKeyboard
Adding this modifierModifier to the modifierModifier parameter of a component will allow it to intercept hardware key events before they are sent to the software keyboard.
-
onPreRotaryScrollEvent
Adding this modifierModifier to the modifierModifier parameter of a component will allow it to intercept RotaryScrollEvents if it (or one of its children) is focused.
-
onPreviewKeyEvent
Adding this modifierModifier to the modifierModifier parameter of a component will allow it to intercept hardware key events when it (or one of its children) is focused.
-
onRotaryScrollEvent
Adding this modifierModifier to the modifierModifier parameter of a component will allow it to intercept RotaryScrollEvents if it (or one of its children) is focused.
-
onSizeChanged
Invoked with the size of the modified Compose UI element when the element is first measured or when the size of the element changes.
-
onVisibilityChanged
Registers a callback to monitor whether or not the node is inside of the viewport of the window or not.
-
paint
Paint the content using painter.
-
pointerHoverIcon
Modifier that lets a developer define a pointer icon to display when the cursor is hovered over the element.
-
pointerInput
Create a modifier for processing pointer input within the region of the modified element.
-
pointerInteropFilter
A special PointerInputModifier that provides access to the underlying MotionEvents originally dispatched to Compose.
-
preferredFrameRate
Set a requested frame rate on Composable
-
rotate
Sets the degrees the view is rotated around the center of the composable.
-
scale
Scale the contents of the composable by the following scale factors along the horizontal and vertical axis respectively.
-
semantics
Add semantics key/value pairs to the layout node, for use in testing, accessibility, etc.
-
sensitiveContent
This modifier hints that the composable renders sensitive content (i.
-
shadow
Creates a graphicsLayer that draws a shadow.
-
stylusHoverIcon
Modifier that lets a developer define a pointer icon to display when a stylus is hovered over the element.
-
testTag
Applies a tag to allow modified element to be found in tests.
-
toolingGraphicsLayer
A [Modifier.
-
zIndex
Creates a modifier that controls the drawing order for the children of the same layout parent.
Compose UI
Jetpack Compose API reference for ui.