# androidx.wear.protolayout.modifiers

*** ** * ** ***

## Interfaces

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | An ordered, immutable collection of `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.Element` that decorate or add behavior to ProtoLayout layout elements. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.Element` | A single element contained within a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` chain. |

## Objects

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.Companion` | The companion object `LayoutModifier` is the empty, default, or starter `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` that contains no `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.Element`. |

## Top-level functions summary

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Clickable` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#clickable(androidx.wear.protolayout.ActionBuilders.Action,kotlin.String,kotlin.Float,kotlin.Float)( action: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.Action, id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, @https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 300) minClickableWidth: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, @https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 300) minClickableHeight: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Clickable` that allows the modified element to have actions associated with it, which will be executed when the element is tapped. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.LoadAction` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#loadAction(androidx.wear.protolayout.expression.DynamicDataMap)( @https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 200) requestedStateMap: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicDataMap? )` Creates an action used to load (or reload) the layout contents. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float)(all: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding` that applies `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float)` dp of additional space along each edge of the content, left, top, right and bottom. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float)( horizontal: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, vertical: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding` that applies `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float)` dp of additional space along the left and right edges of the content and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float)` dp of additional space along the top and bottom edges of the content. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)( start: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, top: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, end: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, bottom: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, rtlAware: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding` that applies additional space along each edge of the content in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()`: `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` |

## Extension functions summary

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 500) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).background(androidx.wear.protolayout.ColorBuilders.Brush)(brush: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ColorBuilders.Brush)` Sets the background brush to `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).background(androidx.wear.protolayout.ColorBuilders.Brush)`. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).background(androidx.wear.protolayout.types.LayoutColor)(color: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/types/LayoutColor)` Sets the background color to `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).background(androidx.wear.protolayout.types.LayoutColor)`. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).border(kotlin.Float,androidx.wear.protolayout.types.LayoutColor)(width: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, color: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/types/LayoutColor)` Adds a modifier to apply a border around an element. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clearSemantics()()` Clears the semantics, including `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).contentDescription(kotlin.String,androidx.wear.protolayout.expression.DynamicBuilders.DynamicString)` and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).semanticsRole(kotlin.Int)`, from the modifier. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clickable(androidx.wear.protolayout.ModifiersBuilders.Clickable)(clickable: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Clickable)` Adds the clickable property of the modified element. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clickable(androidx.wear.protolayout.ActionBuilders.Action,kotlin.String)(action: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.Action, id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` Adds the clickable property of the modified element. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Clickable` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ProtoLayoutScope.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.ProtoLayoutScope).clickable(android.app.PendingIntent,kotlin.String,androidx.wear.protolayout.ActionBuilders.Action,kotlin.Float,kotlin.Float)( pendingIntent: https://developer.android.com/reference/android/app/PendingIntent.html, id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, fallbackAction: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.Action?, minClickableWidth: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, minClickableHeight: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Clickable` that allows the modified element to have a `https://developer.android.com/reference/android/app/PendingIntent.html` associated with it, which will be sent when the element is tapped. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(androidx.wear.protolayout.ModifiersBuilders.Corner)(corner: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Corner)` Clips the element to a rounded rectangle with corners specified in `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(androidx.wear.protolayout.ModifiersBuilders.Corner)`. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(kotlin.Float)(cornerRadius: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Clips the element to a rounded rectangle with four corners with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(kotlin.Float)` radius. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(kotlin.Float,kotlin.Float)( x: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Clips the element to a rounded shape with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(kotlin.Float,kotlin.Float)` as the radius on the vertical axis for the four corners. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomLeft(kotlin.Float,kotlin.Float)( x: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Clips the bottom left corner of the element with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomLeft(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomLeft(kotlin.Float,kotlin.Float)` as the radius on the vertical axis. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomRight(kotlin.Float,kotlin.Float)( x: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Clips the bottom right corner of the element with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomRight(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomRight(kotlin.Float,kotlin.Float)` as the radius on the vertical axis. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopLeft(kotlin.Float,kotlin.Float)( x: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Clips the top left corner of the element with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopLeft(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopLeft(kotlin.Float,kotlin.Float)` as the radius on the vertical axis. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopRight(kotlin.Float,kotlin.Float)( x: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Clips the top right corner of the element with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopRight(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopRight(kotlin.Float,kotlin.Float)` as the radius on the vertical axis. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).contentDescription(kotlin.String,androidx.wear.protolayout.expression.DynamicBuilders.DynamicString)( staticValue: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, @https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 200) dynamicValue: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicString? )` Adds content description to be read by accessibility services. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 200) @https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/ProtoLayoutExperimental https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).enterTransition(androidx.wear.protolayout.ModifiersBuilders.EnterTransition)( transition: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.EnterTransition )` Adds a modifier to specify content transition that is triggered when element enters the layout. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 200) @https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/ProtoLayoutExperimental https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).enterTransition(androidx.wear.protolayout.ModifiersBuilders.FadeInTransition,androidx.wear.protolayout.ModifiersBuilders.SlideInTransition)( fadeIn: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.FadeInTransition?, slideIn: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.SlideInTransition? )` Adds a modifier to specify content transition that is triggered when element enters the layout. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 200) @https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/ProtoLayoutExperimental https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).exitTransition(androidx.wear.protolayout.ModifiersBuilders.ExitTransition)( transition: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.ExitTransition )` Adds a modifier to specify content transition that is triggered when element exits the layout. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 200) @https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/ProtoLayoutExperimental https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).exitTransition(androidx.wear.protolayout.ModifiersBuilders.FadeOutTransition,androidx.wear.protolayout.ModifiersBuilders.SlideOutTransition)( fadeOut: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.FadeOutTransition?, slideOut: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.SlideOutTransition? )` Adds a modifier to specify content transition that is triggered when element exits the layout. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 500) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).fadeInOnVisibleModifier(androidx.wear.protolayout.expression.AnimationParameterBuilders.AnimationSpec)( animationSpec: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/AnimationParameterBuilders.AnimationSpec )` The recommended opacity modifier for Lottie animation or any other element that should appear as the layout is swiped to. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 300) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).minimumTouchTargetSize(kotlin.Float,kotlin.Float)( minWidth: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, minHeight: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Sets the minimum width and height of the clickable area. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).opacity(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticValue: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, to = 1.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicValue: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Adds a modifier to specify the opacity of the element with a value from 0 to 1, where 0 means the element is completely transparent and 1 means the element is completely opaque. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float)(all: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Applies `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float)` dp of additional space along each edge of the content, left, top, right and bottom. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(androidx.wear.protolayout.ModifiersBuilders.Padding)(padding: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding)` Applies additional space along each edge of the content. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float)( horizontal: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, vertical: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Applies `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float)` dp of additional space along the left and right edges of the content and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float)` dp of additional space along the top and bottom edges of the content. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)( start: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, top: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, end: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, bottom: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, rtlAware: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` Applies additional space along each edge of the content in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()`: `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).pivotX(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticValueDp: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicValueDp: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Sets the horizontal pivot offset for scaling and rotation as an absolute distance from the element center. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).pivotY(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticValueDp: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicValueDp: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Sets the vertical pivot offset for scaling and rotation as an absolute distance from the element center. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).ratioPivotX(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticRatio: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicRatio: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Sets the horizontal pivot point for scaling and rotation as a location proportional to the bounding box width. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).ratioPivotY(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticRatio: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicRatio: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Sets the vertical pivot point for scaling and rotation as a location proportional to the bounding box height. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).rotate(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticValueDegrees: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicValueDegrees: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Rotates the layout element. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).scaleX(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticValue: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicValue: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Scales the layout element along the X axis. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).scaleY(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticValue: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicValue: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Scales the layout element along the Y axis. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 600) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).semanticsHeading(kotlin.Boolean)(heading: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Mark the element as heading for a section of content for accessibility purpose. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).semanticsRole(kotlin.Int)(semanticsRole: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Adds the semantic role of user interface element. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Modifiers` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).toProtoLayoutModifiers()()` Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Modifiers` from a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier`. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).translateX(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticValueDp: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicValueDp: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Applies a translation to the layout element along the X axis. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 400) https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).translateY(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)( staticValueDp: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dynamicValueDp: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? )` Applies a translation to the layout element along the Y axis. |
| `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier` | `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 300) @https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/ProtoLayoutExperimental https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier.https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).visibility(kotlin.Boolean,androidx.wear.protolayout.expression.DynamicBuilders.DynamicBool)( staticVisibility: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, dynamicVisibility: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicBool? )` Adds a modifier to specify the visibility of the element. |

## Top-level functions

### clickable

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Clickable.kt+function:clickable) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun clickable(
    action: ActionBuilders.Action = loadAction(),
    id: String? = null,
    @RequiresSchemaVersion(major = 1, minor = 300) minClickableWidth: @Dimension(unit = 0) Float = Float.NaN,
    @RequiresSchemaVersion(major = 1, minor = 300) minClickableHeight: @Dimension(unit = 0) Float = Float.NaN
): ModifiersBuilders.Clickable
```

Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Clickable` that allows the modified element to have actions associated with it, which will be executed when the element is tapped.

| Parameters |
|---|---|
| `action: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.Action = loadAction()` | is triggered whenever the element is tapped. By default adds an empty `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.LoadAction`. |
| `id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | is the associated identifier for this clickable. This will be passed to the action handler. |
| `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 300) minClickableWidth: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | of the clickable area. The default value is 48dp, following the Material design accessibility guideline. Note that this value does not affect the layout, so the minimum clickable width is not guaranteed unless there is enough space around the element within its parent bounds. |
| `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 300) minClickableHeight: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | of the clickable area. The default value is 48dp, following the Material design accessibility guideline. Note that this value does not affect the layout, so the minimum clickable height is not guaranteed unless there is enough space around the element within its parent bounds. |

### loadAction

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Clickable.kt+function:loadAction) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun loadAction(
    @RequiresSchemaVersion(major = 1, minor = 200) requestedStateMap: DynamicDataMap? = null
): ActionBuilders.LoadAction
```

Creates an action used to load (or reload) the layout contents.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 200) requestedStateMap: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicDataMap? = null` | is the state associated with this action. This state will be passed to the action handler. |

### padding

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Padding.kt+function:padding) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun padding(all: @Dimension(unit = 0) Float): ModifiersBuilders.Padding
```

Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding` that applies `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float)` dp of additional space along each edge of the content, left, top, right and bottom.

### padding

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Padding.kt+function:padding) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun padding(
    horizontal: @Dimension(unit = 0) Float,
    vertical: @Dimension(unit = 0) Float
): ModifiersBuilders.Padding
```

Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding` that applies `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float)` dp of additional space along the left and right edges of the content and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float)` dp of additional space along the top and bottom edges of the content.

### padding

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Padding.kt+function:padding) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun padding(
    start: @Dimension(unit = 0) Float = Float.NaN,
    top: @Dimension(unit = 0) Float = Float.NaN,
    end: @Dimension(unit = 0) Float = Float.NaN,
    bottom: @Dimension(unit = 0) Float = Float.NaN,
    rtlAware: Boolean = true
): ModifiersBuilders.Padding
```

Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Padding` that applies additional space along each edge of the content in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()`: `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`

| Parameters |
|---|---|
| `start: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | The padding on the start of the content, depending on the layout direction, in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()` and the value of `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`. |
| `top: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | The padding at the top, in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()`. |
| `end: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | The padding on the end of the content, depending on the layout direction, in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()` and the value of `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`. |
| `bottom: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | The padding at the bottom, in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()`. |
| `rtlAware: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = true` | specifies whether the `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`/`https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` padding is aware of RTL support. If `true`, the values for `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`/`https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` will follow the layout direction (i.e. `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` will refer to the right hand side of the container if the device is using an RTL locale). If `false`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`/`https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` will always map to left/right, accordingly. |

## Extension functions

### LayoutModifier.background

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Background.kt+function:background) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 500)
fun LayoutModifier.background(brush: ColorBuilders.Brush): LayoutModifier
```

Sets the background brush to `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).background(androidx.wear.protolayout.ColorBuilders.Brush)`.

### LayoutModifier.background

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Background.kt+function:background) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.background(color: LayoutColor): LayoutModifier
```

Sets the background color to `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).background(androidx.wear.protolayout.types.LayoutColor)`.

### LayoutModifier.border

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Border.kt+function:border) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.border(width: @Dimension(unit = 0) Float, color: LayoutColor): LayoutModifier
```

Adds a modifier to apply a border around an element.

| Parameters |
|---|---|
| `width: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The width of the border, in `DP`. |
| `color: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/types/LayoutColor` | The color of the border. |

### LayoutModifier.clearSemantics

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Semantics.kt+function:clearSemantics) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.clearSemantics(): LayoutModifier
```

Clears the semantics, including `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).contentDescription(kotlin.String,androidx.wear.protolayout.expression.DynamicBuilders.DynamicString)` and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).semanticsRole(kotlin.Int)`, from the modifier.

### LayoutModifier.clickable

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Clickable.kt+function:clickable) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.clickable(clickable: ModifiersBuilders.Clickable): LayoutModifier
```

Adds the clickable property of the modified element. It allows the modified element to have actions associated with it, which will be executed when the element is tapped.

### LayoutModifier.clickable

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Clickable.kt+function:clickable) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.clickable(
    action: ActionBuilders.Action = loadAction(),
    id: String? = null
): LayoutModifier
```

Adds the clickable property of the modified element. It allows the modified element to have actions associated with it, which will be executed when the element is tapped.

| Parameters |
|---|---|
| `action: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.Action = loadAction()` | is triggered whenever the element is tapped. By default adds an empty `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.LoadAction`. |
| `id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html? = null` | is the associated identifier for this clickable. This will be passed to the action handler. |

### ProtoLayoutScope.clickable

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Clickable.kt+function:clickable) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
fun ProtoLayoutScope.clickable(
    pendingIntent: PendingIntent,
    id: String,
    fallbackAction: ActionBuilders.Action? = null,
    minClickableWidth: @Dimension(unit = 0) Float = Float.NaN,
    minClickableHeight: @Dimension(unit = 0) Float = Float.NaN
): ModifiersBuilders.Clickable
```

Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Clickable` that allows the modified element to have a `https://developer.android.com/reference/android/app/PendingIntent.html` associated with it, which will be sent when the element is tapped.

This clickable requires to be created in a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ProtoLayoutScope` receiver scope which handles internal details of ProtoLayout layout and tiles. In Tiles cases, this scope object can be obtained via `androidx.wear.tiles.RequestBuilders#TileRequest.getScope`.

| Parameters |
|---|---|
| `pendingIntent: https://developer.android.com/reference/android/app/PendingIntent.html` | is sent when the element is tapped. |
| `id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | is the associated identifier for this clickable. This will be used to the identify the pendingIntent to send in the renderer. Within the same tile, this id must be unique among all pendingIntent clickables. |
| `fallbackAction: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ActionBuilders.Action? = null` | The Action to use as a fallback when PendingIntent isn't supported by the ProtoLayout Renderer. |
| `minClickableWidth: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | of the clickable area. The default value is 48dp, following the Material design accessibility guideline. Note that this value does not affect the layout, so the minimum clickable width is not guaranteed unless there is enough space around the element within its parent bounds. |
| `minClickableHeight: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | of the clickable area. The default value is 48dp, following the Material design accessibility guideline. Note that this value does not affect the layout, so the minimum clickable height is not guaranteed unless there is enough space around the element within its parent bounds. |

### LayoutModifier.clip

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Background.kt+function:clip) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.clip(corner: ModifiersBuilders.Corner): LayoutModifier
```

Clips the element to a rounded rectangle with corners specified in `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(androidx.wear.protolayout.ModifiersBuilders.Corner)`.

### LayoutModifier.clip

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Background.kt+function:clip) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.clip(cornerRadius: @Dimension(unit = 0) Float): LayoutModifier
```

Clips the element to a rounded rectangle with four corners with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(kotlin.Float)` radius.

### LayoutModifier.clip

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Background.kt+function:clip) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.clip(
    x: @Dimension(unit = 0) Float,
    y: @Dimension(unit = 0) Float
): LayoutModifier
```

Clips the element to a rounded shape with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clip(kotlin.Float,kotlin.Float)` as the radius on the vertical axis for the four corners.

### LayoutModifier.clipBottomLeft

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Background.kt+function:clipBottomLeft) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.clipBottomLeft(
    x: @Dimension(unit = 0) Float,
    y: @Dimension(unit = 0) Float = x
): LayoutModifier
```

Clips the bottom left corner of the element with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomLeft(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomLeft(kotlin.Float,kotlin.Float)` as the radius on the vertical axis.

### LayoutModifier.clipBottomRight

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Background.kt+function:clipBottomRight) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.clipBottomRight(
    x: @Dimension(unit = 0) Float,
    y: @Dimension(unit = 0) Float = x
): LayoutModifier
```

Clips the bottom right corner of the element with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomRight(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipBottomRight(kotlin.Float,kotlin.Float)` as the radius on the vertical axis.

### LayoutModifier.clipTopLeft

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Background.kt+function:clipTopLeft) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.clipTopLeft(
    x: @Dimension(unit = 0) Float,
    y: @Dimension(unit = 0) Float = x
): LayoutModifier
```

Clips the top left corner of the element with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopLeft(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopLeft(kotlin.Float,kotlin.Float)` as the radius on the vertical axis.

### LayoutModifier.clipTopRight

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Background.kt+function:clipTopRight) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.clipTopRight(
    x: @Dimension(unit = 0) Float,
    y: @Dimension(unit = 0) Float = x
): LayoutModifier
```

Clips the top right corner of the element with `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopRight(kotlin.Float,kotlin.Float)` as the radius on the horizontal axis and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).clipTopRight(kotlin.Float,kotlin.Float)` as the radius on the vertical axis.

### LayoutModifier.contentDescription

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Semantics.kt+function:contentDescription) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.contentDescription(
    staticValue: String,
    @RequiresSchemaVersion(major = 1, minor = 200) dynamicValue: DynamicBuilders.DynamicString? = null
): LayoutModifier
```

Adds content description to be read by accessibility services.

| Parameters |
|---|---|
| `staticValue: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | The static content description. This value will be used if `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).contentDescription(kotlin.String,androidx.wear.protolayout.expression.DynamicBuilders.DynamicString)` is null, or if can't be resolved. |
| `@https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/RequiresSchemaVersion(major = 1, minor = 200) dynamicValue: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicString? = null` | The dynamic content description. This is useful when content of the element itself is dynamic. |

### LayoutModifier.enterTransition

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transition.kt+function:enterTransition) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
fun LayoutModifier.enterTransition(
    transition: ModifiersBuilders.EnterTransition
): LayoutModifier
```

Adds a modifier to specify content transition that is triggered when element enters the layout.

Any update to the element or its children will trigger this animation for this element and everything underneath it.

### LayoutModifier.enterTransition

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transition.kt+function:enterTransition) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
fun LayoutModifier.enterTransition(
    fadeIn: ModifiersBuilders.FadeInTransition? = null,
    slideIn: ModifiersBuilders.SlideInTransition? = null
): LayoutModifier
```

Adds a modifier to specify content transition that is triggered when element enters the layout.

Any update to the element or its children will trigger this animation for this element and everything underneath it.

| Parameters |
|---|---|
| `fadeIn: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.FadeInTransition? = null` | The fading in animation for content transition of an element and its children happening when entering the layout. |
| `slideIn: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.SlideInTransition? = null` | The sliding in animation for content transition of an element and its children happening when entering the layout. |

### LayoutModifier.exitTransition

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transition.kt+function:exitTransition) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
fun LayoutModifier.exitTransition(
    transition: ModifiersBuilders.ExitTransition
): LayoutModifier
```

Adds a modifier to specify content transition that is triggered when element exits the layout.

Any update to the element or its children will trigger this animation for this element and everything underneath it.

### LayoutModifier.exitTransition

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transition.kt+function:exitTransition) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
fun LayoutModifier.exitTransition(
    fadeOut: ModifiersBuilders.FadeOutTransition? = null,
    slideOut: ModifiersBuilders.SlideOutTransition? = null
): LayoutModifier
```

Adds a modifier to specify content transition that is triggered when element exits the layout.

Any update to the element or its children will trigger this animation for this element and everything underneath it.

| Parameters |
|---|---|
| `fadeOut: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.FadeOutTransition? = null` | The fading out animation for content transition of an element and its children happening when exiting the layout. |
| `slideOut: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.SlideOutTransition? = null` | The sliding out animation for content transition of an element and its children happening when exiting the layout. |

### LayoutModifier.fadeInOnVisibleModifier

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Opacity.kt+function:fadeInOnVisibleModifier) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 500)
fun LayoutModifier.fadeInOnVisibleModifier(
    animationSpec: AnimationParameterBuilders.AnimationSpec = AnimationParameterBuilders.AnimationSpec.Builder()
            .setAnimationParameters(
                AnimationParameterBuilders.AnimationParameters.Builder()
                    .setDurationMillis(150)
                    .build()
            )
            .build()
): LayoutModifier
```

The recommended opacity modifier for Lottie animation or any other element that should appear as the layout is swiped to.

It is recommended to be used when Lottie animation is infinite, so that Lottie animation first becomes visible with fading in, followed by animation show, to avoid showing static state while user swipes to the layout.

```kotlin
import androidx.wear.protolayout.ResourceBuilders.LottieProperty.colorForSlot
import androidx.wear.protolayout.TriggerBuilders.createOnVisibleTrigger
import androidx.wear.protolayout.layout.imageResource
import androidx.wear.protolayout.layout.lottieResource
import androidx.wear.protolayout.material3.backgroundImage
import androidx.wear.protolayout.material3.materialScope
import androidx.wear.protolayout.material3.materialScopeWithResources
import androidx.wear.protolayout.material3.primaryLayout
import androidx.wear.protolayout.material3.text
import androidx.wear.protolayout.modifiers.LayoutModifier
import androidx.wear.protolayout.modifiers.background
import androidx.wear.protolayout.modifiers.fadeInOnVisibleModifier

materialScopeWithResources(
        context = context,
        protoLayoutScope = scope,
        deviceConfiguration = deviceConfiguration,
    ) {
        primaryLayout(
            mainSlot = {
                backgroundImage(
                    resource =
                        imageResource(
                            lottie =
                                lottieResource(
                                    rawResourceId = 1234, // Lottie Raw Resource ID,
                                    startTrigger = createOnVisibleTrigger(),
                                    properties =
                                        listOf(colorForSlot("slotID", colorScheme.tertiary.prop)),
                                )
                        ),
                    modifier = LayoutModifier.fadeInOnVisibleModifier(),
                )
            }
        )
    }
```

### LayoutModifier.minimumTouchTargetSize

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Clickable.kt+function:minimumTouchTargetSize) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 300)
fun LayoutModifier.minimumTouchTargetSize(
    minWidth: @Dimension(unit = 0) Float,
    minHeight: @Dimension(unit = 0) Float
): LayoutModifier
```

Sets the minimum width and height of the clickable area. The default value is 48dp, following the Material design accessibility guideline. Note that this value does not affect the layout, so the minimum clickable width/height is not guaranteed unless there is enough space around the element within its parent bounds.

### LayoutModifier.opacity

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Opacity.kt+function:opacity) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.opacity(
    staticValue: @FloatRange(from = 0.0, to = 1.0) Float,
    dynamicValue: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Adds a modifier to specify the opacity of the element with a value from 0 to 1, where 0 means the element is completely transparent and 1 means the element is completely opaque.

| Parameters |
|---|---|
| `staticValue: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, to = 1.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static value for opacity. This value will be used if `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).opacity(kotlin.Float,androidx.wear.protolayout.expression.DynamicBuilders.DynamicFloat)` is null, or if can't be resolved. |
| `dynamicValue: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic value for opacity. This can be used to change the opacity of the element dynamically (without changing the layout definition). To create a smooth transition for the dynamic change, you can use one of `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat#animate(androidx.wear.protolayout.expression.AnimationParameterBuilders.AnimationSpec)` methods. |

### LayoutModifier.padding

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Padding.kt+function:padding) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.padding(all: @Dimension(unit = 0) Float): LayoutModifier
```

Applies `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float)` dp of additional space along each edge of the content, left, top, right and bottom.

### LayoutModifier.padding

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Padding.kt+function:padding) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.padding(padding: ModifiersBuilders.Padding): LayoutModifier
```

Applies additional space along each edge of the content.

### LayoutModifier.padding

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Padding.kt+function:padding) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.padding(
    horizontal: @Dimension(unit = 0) Float,
    vertical: @Dimension(unit = 0) Float
): LayoutModifier
```

Applies `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float)` dp of additional space along the left and right edges of the content and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float)` dp of additional space along the top and bottom edges of the content.

### LayoutModifier.padding

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Padding.kt+function:padding) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.padding(
    start: @Dimension(unit = 0) Float = Float.NaN,
    top: @Dimension(unit = 0) Float = Float.NaN,
    end: @Dimension(unit = 0) Float = Float.NaN,
    bottom: @Dimension(unit = 0) Float = Float.NaN,
    rtlAware: Boolean = true
): LayoutModifier
```

Applies additional space along each edge of the content in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()`: `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` and `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`

| Parameters |
|---|---|
| `start: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | The padding on the start of the content, depending on the layout direction, in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()` and the value of `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`. |
| `top: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | The padding at the top, in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()`. |
| `end: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | The padding on the end of the content, depending on the layout direction, in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()` and the value of `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`. |
| `bottom: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html = Float.NaN` | The padding at the bottom, in `https://developer.android.com/reference/kotlin/androidx/annotation/Dimension#DP()`. |
| `rtlAware: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = true` | specifies whether the `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`/`https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` padding is aware of RTL support. If `true`, the values for `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`/`https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` will follow the layout direction (i.e. `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` will refer to the right hand side of the container if the device is using an RTL locale). If `false`, `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)`/`https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).padding(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Boolean)` will always map to left/right, accordingly. |

### LayoutModifier.pivotX

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transformation.kt+function:pivotX) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.pivotX(
    staticValueDp: @Dimension(unit = 0) Float,
    dynamicValueDp: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Sets the horizontal pivot offset for scaling and rotation as an absolute distance from the element center.

| Parameters |
|---|---|
| `staticValueDp: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static horizontal pivot in DP. |
| `dynamicValueDp: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic horizontal pivot offset. |

### LayoutModifier.pivotY

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transformation.kt+function:pivotY) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.pivotY(
    staticValueDp: @Dimension(unit = 0) Float,
    dynamicValueDp: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Sets the vertical pivot offset for scaling and rotation as an absolute distance from the element center.

| Parameters |
|---|---|
| `staticValueDp: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static vertical pivot in DP. |
| `dynamicValueDp: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic vertical pivot offset. |

### LayoutModifier.ratioPivotX

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transformation.kt+function:ratioPivotX) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.ratioPivotX(
    staticRatio: Float,
    dynamicRatio: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Sets the horizontal pivot point for scaling and rotation as a location proportional to the bounding box width.

| Parameters |
|---|---|
| `staticRatio: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static horizontal pivot ratio (e.g., 0.5 for center). Value outside 0, 1 are also valid. |
| `dynamicRatio: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic horizontal pivot ratio. |

### LayoutModifier.ratioPivotY

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transformation.kt+function:ratioPivotY) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.ratioPivotY(
    staticRatio: Float,
    dynamicRatio: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Sets the vertical pivot point for scaling and rotation as a location proportional to the bounding box height.

| Parameters |
|---|---|
| `staticRatio: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static vertical pivot ratio (e.g., 0.5 for center). Value outside 0, 1 are also valid. |
| `dynamicRatio: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic vertical pivot ratio. |

### LayoutModifier.rotate

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transformation.kt+function:rotate) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.rotate(
    staticValueDegrees: Float,
    dynamicValueDegrees: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Rotates the layout element. Positive values result in clockwise rotation.

| Parameters |
|---|---|
| `staticValueDegrees: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static rotation angle in degrees. |
| `dynamicValueDegrees: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic rotations angle for animations or state binding. |

### LayoutModifier.scaleX

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transformation.kt+function:scaleX) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.scaleX(
    staticValue: @FloatRange(from = 0.0) Float,
    dynamicValue: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Scales the layout element along the X axis.

| Parameters |
|---|---|
| `staticValue: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static scale factor (1.0 is original size). |
| `dynamicValue: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic scale factor for animations or state binding. |

### LayoutModifier.scaleY

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transformation.kt+function:scaleY) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.scaleY(
    staticValue: @FloatRange(from = 0.0) Float,
    dynamicValue: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Scales the layout element along the Y axis.

| Parameters |
|---|---|
| `staticValue: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static scale factor (1.0 is original size). |
| `dynamicValue: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic scale factor for animations or state binding. |

### LayoutModifier.semanticsHeading

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Semantics.kt+function:semanticsHeading) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 600)
fun LayoutModifier.semanticsHeading(heading: Boolean): LayoutModifier
```

Mark the element as heading for a section of content for accessibility purpose.

### LayoutModifier.semanticsRole

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Semantics.kt+function:semanticsRole) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.semanticsRole(semanticsRole: Int): LayoutModifier
```

Adds the semantic role of user interface element. Accessibility services might use this to describe the element or do customizations.

### LayoutModifier.toProtoLayoutModifiers

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/ModifierAppliers.kt+function:toProtoLayoutModifiers) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
fun LayoutModifier.toProtoLayoutModifiers(): ModifiersBuilders.Modifiers
```

Creates a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.Modifiers` from a `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/LayoutModifier`.

### LayoutModifier.translateX

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transformation.kt+function:translateX) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.translateX(
    staticValueDp: @Dimension(unit = 0) Float,
    dynamicValueDp: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Applies a translation to the layout element along the X axis.

| Parameters |
|---|---|
| `staticValueDp: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static offset in DP. |
| `dynamicValueDp: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic offset for animations or state binding. |

### LayoutModifier.translateY

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Transformation.kt+function:translateY) Added in [1.4.2](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.4.2)

```
@RequiresSchemaVersion(major = 1, minor = 400)
fun LayoutModifier.translateY(
    staticValueDp: @Dimension(unit = 0) Float,
    dynamicValueDp: DynamicBuilders.DynamicFloat? = null
): LayoutModifier
```

Applies a translation to the layout element along the Y axis.

| Parameters |
|---|---|
| `staticValueDp: @https://developer.android.com/reference/kotlin/androidx/annotation/Dimension(unit = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The static offset in DP. |
| `dynamicValueDp: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicFloat? = null` | The dynamic offset for animations or state binding. |

### LayoutModifier.visibility

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/modifiers/Visibility.kt+function:visibility) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
@RequiresSchemaVersion(major = 1, minor = 300)
@ProtoLayoutExperimental
fun LayoutModifier.visibility(
    staticVisibility: Boolean,
    dynamicVisibility: DynamicBuilders.DynamicBool? = null
): LayoutModifier
```

Adds a modifier to specify the visibility of the element. A hidden element still consume space in the layout, but will not render any contents, nor will any of its children render any contents.

Note that hidden elements won't receive input events.

| Parameters |
|---|---|
| `staticVisibility: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | The static value for visibility. This value will be used if `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/modifiers/package-summary#(androidx.wear.protolayout.modifiers.LayoutModifier).visibility(kotlin.Boolean,androidx.wear.protolayout.expression.DynamicBuilders.DynamicBool)` is null, or if can't be resolved. |
| `dynamicVisibility: https://developer.android.com/reference/kotlin/androidx/wear/protolayout/expression/DynamicBuilders.DynamicBool? = null` | The dynamic value for visibility. This can be used to change the visibility of the element dynamically (without changing the layout definition). |