Platform
Android Studio
Google Play
Jetpack
Docs
Blog
Download
What's New
User Guide
Preview
Home
Platform
Android Studio
Download
What's New
User Guide
Preview
Google Play
Docs
Blog
Download a Preview
Install Alongside Stable
New Features
Release Updates
Updates archive
►
2024
2024
(83)
►
November
November
(4)
►
October
October
(8)
►
September
September
(8)
►
August
August
(9)
►
July
July
(6)
►
June
June
(7)
►
May
May
(9)
►
April
April
(9)
►
March
March
(6)
►
February
February
(8)
►
January
January
(9)
►
2023
2023
(76)
►
December
December
(4)
►
November
November
(9)
►
October
October
(7)
►
September
September
(8)
►
August
August
(3)
►
July
July
(4)
►
June
June
(6)
►
May
May
(10)
►
April
April
(4)
►
March
March
(7)
►
February
February
(9)
►
January
January
(5)
►
2022
2022
(59)
►
December
December
(3)
►
November
November
(5)
►
October
October
(8)
►
September
September
(4)
►
August
August
(4)
►
July
July
(2)
►
June
June
(7)
►
May
May
(6)
►
April
April
(5)
►
March
March
(6)
►
February
February
(5)
►
January
January
(4)
►
2021
2021
(54)
►
December
December
(3)
►
November
November
(2)
►
October
October
(6)
►
September
September
(4)
►
August
August
(5)
►
July
July
(8)
►
June
June
(4)
►
May
May
(5)
►
April
April
(1)
►
March
March
(7)
►
February
February
(4)
►
January
January
(5)
►
2020
2020
(107)
►
December
December
(7)
►
November
November
(3)
►
October
October
(8)
►
September
September
(6)
►
August
August
(11)
►
July
July
(14)
►
June
June
(10)
►
May
May
(12)
►
April
April
(11)
►
March
March
(11)
►
February
February
(6)
►
January
January
(8)
▼
2019
2019
(145)
▼
December
December
(16)
Android Studio 4.0 Canary 7 available
AMD Hypervisor 1.3 to Stable
Emulator 29.3.2 Stable
Emulator 29.3.2 Canary
Android Studio 3.6 Release Candidate 1 available
ConstraintLayout 2.0.0 beta 4
Emulator 29.3.1 Canary
Emulator 29.3.0 Stable
Android Studio 4.0 Canary 6 available
Emulator 29.3.0 Canary
Emulator 29.2.12 Stable: Google Maps UI
Emulator 29.2.12 to Canary
Android Studio 3.5.3 available
Android Studio 4.0 Canary 5 available
Android Studio 3.6 Beta 5 available
Emulator 29.2.11 and AMD Hypervisor 1.2 to Stable
►
November
November
(12)
►
October
October
(10)
►
September
September
(13)
►
August
August
(12)
►
July
July
(6)
►
June
June
(9)
►
May
May
(18)
►
April
April
(14)
►
March
March
(12)
►
February
February
(10)
►
January
January
(13)
►
2018
2018
(128)
►
December
December
(13)
►
November
November
(12)
►
October
October
(10)
►
September
September
(10)
►
August
August
(16)
►
July
July
(10)
►
June
June
(13)
►
May
May
(9)
►
April
April
(11)
►
March
March
(12)
►
February
February
(9)
►
January
January
(3)
►
2017
2017
(48)
►
December
December
(3)
►
November
November
(2)
►
October
October
(8)
►
September
September
(3)
►
August
August
(4)
►
July
July
(3)
►
June
June
(3)
►
May
May
(4)
►
April
April
(5)
►
March
March
(5)
►
February
February
(6)
►
January
January
(2)
►
2016
2016
(5)
►
December
December
(3)
►
November
November
(2)
Subscribe to updates
Posts
Atom
Posts
Android Developers
Android Studio
Preview
Release Updates
ConstraintLayout 2.0.0 beta 4
Monday, December 16, 2019
We are happy to announce the release of ConstraintLayout 2.0 beta 4.
It’s available from the google maven repository:
dependencies {
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'
}
Documentation is available on
https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout
Examples are available on
https://github.com/googlesamples/android-ConstraintLayoutExamples
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
We fixed several issues in beta 4 -- upgrade from previous versions is highly encouraged.
Incorrect measuring dimensionRatio
117087368
[ConstraintLayout 2.0.0-beta2] Regression in scrolling RecyclerView into collapsing header
135430899
Regression regarding minHeight property
135828272
rotation issue
136131642
MotionLayout breaks if there are no Transitions defined
137310456
Incorrect rendering of views constrained towards a Barrier
143273709
Bug: ConstraintLayout barrier not shown on the IDE
143411144
[ConstraintLayout 2.0.0-beta3] Scrolling RecyclerView into collapsing header starts transition before reaching the top
143595002
Helpers aren't showing in Android Studio
144702154
ConstraintLayout - View Disappearing / Wrong Behaviour on a Transition
110314365
2.0.0 Alpha 4 not respecting margins.
130060979
When onTouchUp is set to decelerate the transition snaps to the end
132325328
Setting layout_constrainedHeight leads to incorrect view's width.
138733070
Static width & height ratio constraint results in wrong dimensions with 2.0.0-beta3
143967392
dimension percent with only one constraint collapse when = 1
144701789
Broken layout when the view is gone with spread_inside chain style
145768215
3 issues found in alpha5
131613288
[MotionLayout] onClick and onSwipe on the same view combination doesn't work
136600128
Disable Transition
138814831
NoSuchMethodException (setFabBackgroundTint, setFabTint) in MotionLayout
139535302
Disabling transition not working
143026544
Views get incorrectly wrapped in 2.0.0-beta3
143373429
[MotionLayout] Add API to temporarily disable touch event handling
144150451
MotionLayout onClick transition being override by swipe transition state
144943459
Flow Design View Broken in when using ConstraintLayout 2.0.0-beta3 with AS 4.0-alpha04
145511664