ConstraintSet.Constraint
public class ConstraintSet.Constraint
Summary
Public fields |
|
|---|---|
final ConstraintSet.Layout |
|
HashMap<String, ConstraintAttribute> |
|
final ConstraintSet.Motion |
|
final ConstraintSet.PropertySet |
|
final ConstraintSet.Transform |
Public constructors |
|---|
Public methods |
|
|---|---|
void |
Apply a delta to a constraint |
void |
apply ConstraintSet to the layout params |
ConstraintSet.Constraint |
clone()Return a copy of the Constraint |
void |
printDelta(String tag)Apply a delta file |
Public fields
Public constructors
Public methods
applyDelta
Added in 2.2.1
public void applyDelta(ConstraintSet.Constraint c)
Apply a delta to a constraint
| Parameters | |
|---|---|
ConstraintSet.Constraint c |
applyTo
Added in 2.2.1
public void applyTo(ConstraintLayout.LayoutParams param)
apply ConstraintSet to the layout params
| Parameters | |
|---|---|
ConstraintLayout.LayoutParams param |
clone
Added in 2.2.1
public ConstraintSet.Constraint clone()
Return a copy of the Constraint
| Returns | |
|---|---|
ConstraintSet.Constraint |
printDelta
Added in 2.2.1
public void printDelta(String tag)
Apply a delta file
| Parameters | |
|---|---|
String tag |