# Constraints.LayoutParams

Artifact: [androidx.constraintlayout:constraintlayout](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/widget/Constraints.java+class:androidx.constraintlayout.widget.Constraints.LayoutParams) Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

*** ** * ** ***


```
public class Constraints.LayoutParams extends ConstraintLayout.LayoutParams
```

<br />

|---|---|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||||
| ↳ | [android.view.ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) ||||
|   | ↳ | [android.view.ViewGroup.MarginLayoutParams](https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html) |||
|   |   | ↳ | [androidx.constraintlayout.widget.ConstraintLayout.LayoutParams](https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams) ||
|   |   |   | ↳ | [androidx.constraintlayout.widget.Constraints.LayoutParams](https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams) |

*** ** * ** ***

## Summary

| ### Public fields |
|---|---|
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#alpha()` |
| `boolean` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#applyElevation()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#elevation()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#rotation()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#rotationX()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#rotationY()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#scaleX()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#scaleY()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#transformPivotX()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#transformPivotY()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#translationX()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#translationY()` |
| `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#translationZ()` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#LayoutParams(androidx.constraintlayout.widget.Constraints.LayoutParams)(https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams source)` |
| `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#LayoutParams(android.content.Context,android.util.AttributeSet)(https://developer.android.com/reference/android/content/Context.html c, https://developer.android.com/reference/android/util/AttributeSet.html attrs)` |
| `https://developer.android.com/reference/androidx/constraintlayout/widget/Constraints.LayoutParams#LayoutParams(int,int)(int width, int height)` |

| ### Inherited Constants |
|---|
| From [androidx.constraintlayout.widget.ConstraintLayout.LayoutParams](https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams) |---|---| | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#BASELINE() = 5` The baseline of the text in a view. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#BOTTOM() = 4` The bottom side of a view. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#CHAIN_PACKED() = 2` Chain packed style | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#CHAIN_SPREAD() = 0` Chain spread style | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#CHAIN_SPREAD_INSIDE() = 1` Chain spread inside style | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#CIRCLE() = 8` Circle reference from a view. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#END() = 7` The right side of a view in left to right languages. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#GONE_UNSET() = -2147483648` Defines an id that is not set. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#HORIZONTAL() = 0` The horizontal orientation. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#LEFT() = 1` The left side of a view. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#MATCH_CONSTRAINT() = 0` Dimension will be controlled by constraints. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#MATCH_CONSTRAINT_PERCENT() = 2` Set matchConstraintDefault\* percent to be based on a percent of another dimension (by default, the parent) Use to set the matchConstraintDefaultWidth and matchConstraintDefaultHeight | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#MATCH_CONSTRAINT_SPREAD() = 0` Set matchConstraintDefault\* spread as much as possible within its constraints. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#MATCH_CONSTRAINT_WRAP() = 1` Set matchConstraintDefault\* default to the wrap content size. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#PARENT_ID() = 0` References the id of the parent. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#RIGHT() = 2` The right side of a view. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#START() = 6` The left side of a view in left to right languages. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#TOP() = 3` The top of a view. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#UNSET() = -1` Defines an id that is not set. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#VERTICAL() = 1` The vertical orientation. | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#WRAP_BEHAVIOR_HORIZONTAL_ONLY() = 1` | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#WRAP_BEHAVIOR_INCLUDED() = 0` | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#WRAP_BEHAVIOR_SKIPPED() = 3` | | `static final int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#WRAP_BEHAVIOR_VERTICAL_ONLY() = 2` | |
| From [android.view.ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) |---|---| | `static final int` | `https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#FILL_PARENT = -1` **This field is deprecated.** | | `static final int` | `https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#MATCH_PARENT = -1` | | `static final int` | `https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#WRAP_CONTENT = -2` | |

| ### Inherited fields |
|---|
| From [androidx.constraintlayout.widget.ConstraintLayout.LayoutParams](https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams) |---|---| | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#baselineMargin()` The baseline margin. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#baselineToBaseline()` Constrains the baseline of a child to the baseline of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#baselineToBottom()` Constrains the baseline of a child to the bottom of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#baselineToTop()` Constrains the baseline of a child to the top of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#bottomToBottom()` Constrains the bottom side of a child to the bottom side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#bottomToTop()` Constrains the bottom side of a child to the top side of a target child (contains the target child id). | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#circleAngle()` The angle used for a circular constraint\] | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#circleConstraint()` Constrains the center of a child to the center of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#circleRadius()` The radius used for a circular constraint | | `boolean` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#constrainedHeight()` Specify if the vertical dimension is constrained in case both top \&bottom constraints are set and the widget dimension is not a fixed dimension. | | `boolean` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#constrainedWidth()` Specify if the horizontal dimension is constrained in case both left \&right constraints are set and the widget dimension is not a fixed dimension. | | `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#constraintTag()` Define a category of view to be used by helpers and motionLayout | | `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#dimensionRatio()` The ratio information. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#editorAbsoluteX()` The design time location of the left side of the child. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#editorAbsoluteY()` The design time location of the right side of the child. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#endToEnd()` Constrains the end side of a child to the end side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#endToStart()` Constrains the end side of a child to the start side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#goneBaselineMargin()` The baseline margin to use when the target is gone. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#goneBottomMargin()` The bottom margin to use when the target is gone. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#goneEndMargin()` The end margin to use when the target is gone. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#goneLeftMargin()` The left margin to use when the target is gone. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#goneRightMargin()` The right margin to use when the target is gone | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#goneStartMargin()` The start margin to use when the target is gone. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#goneTopMargin()` The top margin to use when the target is gone. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#guideBegin()` The distance of child (guideline) to the top or left edge of its parent. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#guideEnd()` The distance of child (guideline) to the bottom or right edge of its parent. | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#guidePercent()` The ratio of the distance to the parent's sides | | `boolean` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#guidelineUseRtl()` The ratio of the distance to the parent's sides | | `boolean` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#helped()` | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#horizontalBias()` The ratio between two connections when the left and right (or start and end) sides are constrained. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#horizontalChainStyle()` If the child is the start of a horizontal chain, this attribute will drive how the elements of the chain will be positioned. | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#horizontalWeight()` The child's weight that we can use to distribute the available horizontal space in a chain, if the dimension behaviour is set to MATCH_CONSTRAINT | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#leftToLeft()` Constrains the left side of a child to the left side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#leftToRight()` Constrains the left side of a child to the right side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#matchConstraintDefaultHeight()` Define how the widget vertical dimension is handled when set to MATCH_CONSTRAINT | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#matchConstraintDefaultWidth()` Define how the widget horizontal dimension is handled when set to MATCH_CONSTRAINT | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#matchConstraintMaxHeight()` Specify a maximum height size for the widget. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#matchConstraintMaxWidth()` Specify a maximum width size for the widget. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#matchConstraintMinHeight()` Specify a minimum height size for the widget. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#matchConstraintMinWidth()` Specify a minimum width size for the widget. | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#matchConstraintPercentHeight()` Specify the percentage when using the match constraint percent mode. | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#matchConstraintPercentWidth()` Specify the percentage when using the match constraint percent mode. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#orientation()` | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#rightToLeft()` Constrains the right side of a child to the left side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#rightToRight()` Constrains the right side of a child to the right side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#startToEnd()` Constrains the start side of a child to the end side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#startToStart()` Constrains the start side of a child to the start side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#topToBottom()` Constrains the top side of a child to the bottom side of a target child (contains the target child id). | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#topToTop()` Constrains the top side of a child to the top side of a target child (contains the target child id). | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#verticalBias()` The ratio between two connections when the top and bottom sides are constrained. | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#verticalChainStyle()` If the child is the start of a vertical chain, this attribute will drive how the elements of the chain will be positioned. | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#verticalWeight()` The child's weight that we can use to distribute the available vertical space in a chain, if the dimension behaviour is set to MATCH_CONSTRAINT | | `int` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#wrapBehaviorInParent()` Specify how this view is taken in account during the parent's wrap computation Can be either of: WRAP_BEHAVIOR_INCLUDED the widget is taken in account for the wrap (default) WRAP_BEHAVIOR_HORIZONTAL_ONLY the widget will be included in the wrap only horizontally WRAP_BEHAVIOR_VERTICAL_ONLY the widget will be included in the wrap only vertically WRAP_BEHAVIOR_SKIPPED the widget is not part of the wrap computation | |
| From [android.view.ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) |---|---| | `int` | `https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#height` | | `https://developer.android.com/reference/android/view/animation/LayoutAnimationController.AnimationParameters.html` | `https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#layoutAnimationParameters` | | `int` | `https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#width` | |
| From [android.view.ViewGroup.MarginLayoutParams](https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html) |---|---| | `int` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#bottomMargin` | | `int` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#leftMargin` | | `int` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#rightMargin` | | `int` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#topMargin` | |

| ### Inherited methods |
|---|
| From [androidx.constraintlayout.widget.ConstraintLayout.LayoutParams](https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams) |---|---| | `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#getConstraintTag()()` Tag that can be used to identify a view as being a member of a group. | | `https://developer.android.com/reference/androidx/constraintlayout/core/widgets/ConstraintWidget` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#getConstraintWidget()()` | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#reset()()` Reset the ConstraintWidget | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#resolveLayoutDirection(int)(int layoutDirection)` | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#setWidgetDebugName(java.lang.String)(https://developer.android.com/reference/java/lang/String.html text)` | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout.LayoutParams#validate()()` validate the layout | |
| From [android.view.ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) |---|---| | `void` | `https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#setBaseAttributes(android.content.res.TypedArray, int, int)(https://developer.android.com/reference/android/content/res/TypedArray.html a, int widthAttr, int heightAttr)` | |
| From [android.view.ViewGroup.MarginLayoutParams](https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html) |---|---| | `int` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#getLayoutDirection()()` | | `int` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#getMarginEnd()()` | | `int` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#getMarginStart()()` | | `boolean` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#isMarginRelative()()` | | `void` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#resolveLayoutDirection(int)(int layoutDirection)` | | `void` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#setLayoutDirection(int)(int layoutDirection)` | | `void` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#setMarginEnd(int)(int end)` | | `void` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#setMarginStart(int)(int start)` | | `void` | `https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#setMargins(int, int, int, int)(int left, int top, int right, int bottom)` | |

## Public fields

### alpha

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float alpha
```

### applyElevation

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public boolean applyElevation
```

### elevation

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float elevation
```

### rotation

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float rotation
```

### rotationX

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float rotationX
```

### rotationY

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float rotationY
```

### scaleX

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float scaleX
```

### scaleY

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float scaleY
```

### transformPivotX

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float transformPivotX
```

### transformPivotY

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float transformPivotY
```

### translationX

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float translationX
```

### translationY

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float translationY
```

### translationZ

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public float translationZ
```

## Public constructors

### LayoutParams

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public LayoutParams(Constraints.LayoutParams source)
```

### LayoutParams

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public LayoutParams(Context c, AttributeSet attrs)
```

### LayoutParams

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

```
public LayoutParams(int width, int height)
```