implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
}
or if using the android.support packages:
dependencies {
implementation 'com.android.support.constraint:constraint-layout:2.0.0-beta4'
}
MotionLayout
- new attributes in Transition:- layoutDuringTransition : let you configure how MotionLayout should react to children's requestLayouts calls during a transition. Possible values are {ignoreRequest, honorRequest}
- pathMotionArc : the path taken by elements moving will use an arc. Possible values are {startVertical | startHorizontal | flip | none }
- A default transition is now possible to define, simply by omitting the start and end ConstraintSets. That default transition will be used if no other existing transition can be found to match the current start/end states.
Bugfixes
| Incorrect measuring dimensionRatio | |
| Regression regarding minHeight property | |
| MotionLayout breaks if there are no Transitions defined | |
| Bug: ConstraintLayout barrier not shown on the IDE | |
| Helpers aren't showing in Android Studio | |
| 2.0.0 Alpha 4 not respecting margins. | |
| Setting layout_constrainedHeight leads to incorrect view's width. | |
| dimension percent with only one constraint collapse when = 1 | |
| 3 issues found in alpha5 | |
| Disable Transition | |
| Disabling transition not working | |
| [MotionLayout] Add API to temporarily disable touch event handling | |
| Flow Design View Broken in when using ConstraintLayout 2.0.0-beta3 with AS 4.0-alpha04 | 145511664 |
SOCIAL SHARE CARD GENERATOR