Android Developers
  • 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

  • ►  2025 2025 (41)
    • ►  June June (2)
    • ►  May May (7)
    • ►  April April (10)
    • ►  March March (7)
    • ►  February February (9)
    • ►  January January (6)
  • ►  2024 2024 (90)
    • ►  December December (7)
    • ►  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)
      • Emulator 30.0.15 Canary
      • Android Studio 4.0 available in the Stable channel
      • Android Studio 4.1 Canary 10 available
      • Emulator 30.0.14 Canary
      • Emulator 30.0.13 Canary
      • ConstraintLayout 2.0.0 beta 6
      • Emulator 30.0.12 Stable, PSA: If emulator not star...
      • Android Studio 4.0 Release Candidate 1 available
      • Emulator 30.0.12 Canary, PSA: If emulator not star...
      • ConstraintLayout 2.0.0 beta 5
      • Android Studio 4.1 Canary 9 available
      • Emulator 30.0.11 Canary
    • ►  April April (11)
    • ►  March March (11)
    • ►  February February (6)
    • ►  January January (8)
  • ►  2019 2019 (145)
    • ►  December December (16)
    • ►  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 5

Thursday, May 7, 2020
dependencies {
    implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta5'
}




or if using the android.support packages:

dependencies {
    implementation 'com.android.support.constraint:constraint-layout:2.0.0-beta5'
}


Documentation is available on https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout

Examples are available on https://github.com/android/views-widgets-samples/tree/master/ConstraintLayoutExamples


Bugfixes


We fixed several issues in beta 5 -- upgrade from previous versions is encouraged, specifically when using MotionLayout.


[2.0.0-beta4] First tap lost in a scrolling view contained in a MotionLayout146413738
ConstraintLayout Group - Changing visibility when using INVISIBLE doesn't work correctly130524019
[MotionLayout] - NestedScrollView + RecyclerView + variable size header on click138035155
[MotionLayout] does not expand to wrap content inside RecyclerView item138312805
MotionLayout drag doesn't work after fling in RecyclerView141319444
Flow : Set only vertical style, but applied both vertical and horizontal style141809028
CustomView as part of a CollapsibleToolbar (MotionLayout) extends beyond it's bounds when scrolling up143971662
Flow doesn't handle gaps correctly with wrapMode=chain144298723
MotionLayout packed horizontal chain style does not work for RTL locales144301446
Incorrect behavior with GONE views used in Flow helper144388675
Percentage Constraint not working properly in Constraint Flow Layout144667391
Constraint Flow layout rows are getting overlapped144668321
Problem with chained widgets144987885
deriveConstraintsFrom doesn't seem to derive custom attributes145977578
[2.0.0-beta04] layout_constraintVertical_bias is 0.5 like 1146591537
ConstraintLayout 1.1 bug or undocumented change77991323
MotionLayout: View shakes after list scroll126123628
Changing visibility not redrawing layout127623474
NPE on tap when scene not assigned137286955
MotionLayout set Transition Listener139481711
layout_constraintDimensionRatio stays applied after a move to another ConstraintSet in MotionLayout140263105
touchRegionId doesn't work properly for Motion Layout142498322
[ConstraintLayout 2.0.0-beta-2] MotionLayout: Calling transitionToState too quickly results in MotionLayout getting into a bad state142698005
Nested MotionLayout gets stuck on scroll even with motion:onTouchUp="autoComplete"143501796
MotionLayout visibilityMode="ignore" doesn't work with deriveConstraintsFrom144795175
Padding start/end/vertical/horizontal not working in Constraint Layout Flow146265835
setTransition(id) method request146537011
The Layout deforms by itself.146794818
CL 2.0 beta 4 chain biases and gone views146920079
Flow elevation problem148483377
Share on Twitter Share on Facebook
Google
  