# ConstraintSetParser.LayoutVariables

Artifact: [androidx.constraintlayout:constraintlayout-core](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/core/state/ConstraintSetParser.java+class:androidx.constraintlayout.core.state.ConstraintSetParser.LayoutVariables) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

*** ** * ** ***


```
public class ConstraintSetParser.LayoutVariables
```

<br />

*** ** * ** ***

Provide the storage for managing Variables in the system. When the json has a variable:{ } section this is used.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/constraintlayout/core/state/ConstraintSetParser.LayoutVariables#LayoutVariables()()` |

| ### Public methods |
|---|---|
| `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/state/ConstraintSetParser.LayoutVariables#putOverride(java.lang.String,float)(https://developer.android.com/reference/java/lang/String.html elementName, float value)` insert an override variable |

## Public constructors

### LayoutVariables

Added in 1.1.2

```
public LayoutVariables()
```

## Public methods

### putOverride

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

```
public void putOverride(String elementName, float value)
```

insert an override variable

| Parameters |
|---|---|
| `https://developer.android.com/reference/java/lang/String.html elementName` | the name |
| `float value` | the value a float |