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)
      • Android Studio 4.2 Canary 3 available
      • Emulator 30.0.19 Canary
      • Android Studio 4.1 Beta 2 available
      • Emulator 30.0.18 Canary
      • Android Studio 4.2 Canary 2 available
      • ConstraintLayout 2.0.0 beta 7
      • Emulator 30.0.17 Canary
      • Android Studio 4.1 Beta 1 available
      • Android Studio 4.2 Canary 1 available
      • Emulator 30.0.16 Canary
    • ►  May May (12)
    • ►  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 7

Friday, June 12, 2020
dependencies {
    implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta7'
}




or if using the android.support packages:

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


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

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

Bugfixes


Here is the list of issues fixed in beta 7. Notable fixes are:

  • Nested scroll view issues in MotionLayout
  • Transition listener issues with MotionLayout
  • Memory leak in MotionLayout
  • RecyclerView performances
  • Group visibility
  • Padding issues



[2.0.0-beta4] First tap lost in a scrolling view contained in a MotionLayout146413738
ConstraintLayout should with wrap_content match the heighest child156556215
constraintSet.applyTo(...) when called two or more times in a row, sometimes doesn't work.156556217
ConstraintLayout show different preview since 2.0.0-beta5156582652
[2.0.0-beta6] onTransitionCompleted called multiple times and with an id of -1157003182
ConstraintLayout 2.0 incorrectly applies paddingEnd to RHS of views in RTL157072539
[2.0.0-beta6] MotionLayout + RecyclerView binding all items before recycling all but visible again157075835
Memory leaks when scrolling using MotionLayout157370588
Flinging through ConstaintLayouts (beta-6) in RecyclerView causes loop157498393
match_constraint can sometimes be collapsed incorrectly157498451
MotionLayout leaks nested scrollable view in its mScrollTarget field158494145
onTransitionCompleted is not always called149423772
RTL issue paddingStart/End working like left/right156448748
group visibility doesn't apply correctly in 2.0 beta 6157599997
wrap_content on ConstraintLayout itself does not behave as it should with wrapped TextView111110537
MotionLayout: OnSwipe doesn't work after transitioning to a third state135130730
[MotionLayout 2.0.0-beta2] TransitionListener triggers callbacks incorrectly135627413
Motionlayout crash if count of custom attributes in constraint more than count of constraint sets136362587
MotionLayout throwing ArrayIndexOutOfBoundsException when adding more than three CustomAttribute elements144151823
[MotionLayout] Add a `addTransitionListener` method rather than a setter144714753
Constraint Layout without any children views with height wrap_content takes full parent height146698785
ImageFilterButton NPE GLES20Canvas.clipPath()147871162
[Motion Layout] Jiggling if we fling nested recycler and than move content into opposite direction148483381
[2.0.0-beta4] Motion layout jumps to the end when Recycler view is a touch region150268542
RecyclerView#onScrollStateChanged delayed when child of MotionLayout150881510
CL 2.0.0 Beta 4 rendering issue151317170
Nested ConstraintLayout doesn't show correctly with data binding151648853
ImageFilterView is not showing background when roundPercent > 0 is set on API < 21153243019
beta 6 : wrap content + align baselines156660905
[MotionLayout] strange behavior in auto transition157351958
[2.0.0-beta6] no pass through of `baseline_toBaselineOf` when View is GONE157401856
maxHeight + padding157448494
MotionLayout with RecyclerView has messed up click listeners157501464
MotionLayout ImageFilterView roundPercentage doesn't work after you set to 0.0147094777
addToVerticalChain: Incorrect connections when adding to the top of a chain.149173288
Share on Twitter Share on Facebook
Google
  