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
(30)
►
四月
四月
(8)
►
三月
三月
(7)
►
二月
二月
(9)
►
一月
一月
(6)
►
2024
2024
(90)
►
十二月
十二月
(7)
►
十一月
十一月
(4)
►
十月
十月
(8)
►
九月
九月
(8)
►
八月
八月
(9)
►
七月
七月
(6)
►
六月
六月
(7)
►
五月
五月
(9)
►
四月
四月
(9)
►
三月
三月
(6)
►
二月
二月
(8)
►
一月
一月
(9)
►
2023
2023
(76)
►
十二月
十二月
(4)
►
十一月
十一月
(9)
►
十月
十月
(7)
►
九月
九月
(8)
►
八月
八月
(3)
►
七月
七月
(4)
►
六月
六月
(6)
►
五月
五月
(10)
►
四月
四月
(4)
►
三月
三月
(7)
►
二月
二月
(9)
►
一月
一月
(5)
►
2022
2022
(59)
►
十二月
十二月
(3)
►
十一月
十一月
(5)
►
十月
十月
(8)
►
九月
九月
(4)
►
八月
八月
(4)
►
七月
七月
(2)
►
六月
六月
(7)
►
五月
五月
(6)
►
四月
四月
(5)
►
三月
三月
(6)
►
二月
二月
(5)
►
一月
一月
(4)
►
2021
2021
(54)
►
十二月
十二月
(3)
►
十一月
十一月
(2)
►
十月
十月
(6)
►
九月
九月
(4)
►
八月
八月
(5)
►
七月
七月
(8)
►
六月
六月
(4)
►
五月
五月
(5)
►
四月
四月
(1)
►
三月
三月
(7)
►
二月
二月
(4)
►
一月
一月
(5)
▼
2020
2020
(107)
►
十二月
十二月
(7)
►
十一月
十一月
(3)
▼
十月
十月
(8)
ConstraintLayout 2.0.4
ConstraintLayout 2.0.3
Android Studio 4.2 Canary 15 available
Android Studio 4.2 Canary 14 available
Android Studio 4.1 available in the Stable channel
ConstraintLayout 2.0.2
Android Studio 4.0.2 available
Android Studio 4.2 Canary 13 available
►
九月
九月
(6)
►
八月
八月
(11)
►
七月
七月
(14)
►
六月
六月
(10)
►
五月
五月
(12)
►
四月
四月
(11)
►
三月
三月
(11)
►
二月
二月
(6)
►
一月
一月
(8)
►
2019
2019
(145)
►
十二月
十二月
(16)
►
十一月
十一月
(12)
►
十月
十月
(10)
►
九月
九月
(13)
►
八月
八月
(12)
►
七月
七月
(6)
►
六月
六月
(9)
►
五月
五月
(18)
►
四月
四月
(14)
►
三月
三月
(12)
►
二月
二月
(10)
►
一月
一月
(13)
►
2018
2018
(128)
►
十二月
十二月
(13)
►
十一月
十一月
(12)
►
十月
十月
(10)
►
九月
九月
(10)
►
八月
八月
(16)
►
七月
七月
(10)
►
六月
六月
(13)
►
五月
五月
(9)
►
四月
四月
(11)
►
三月
三月
(12)
►
二月
二月
(9)
►
一月
一月
(3)
►
2017
2017
(48)
►
十二月
十二月
(3)
►
十一月
十一月
(2)
►
十月
十月
(8)
►
九月
九月
(3)
►
八月
八月
(4)
►
七月
七月
(3)
►
六月
六月
(3)
►
五月
五月
(4)
►
四月
四月
(5)
►
三月
三月
(5)
►
二月
二月
(6)
►
一月
一月
(2)
►
2016
2016
(5)
►
十二月
十二月
(3)
►
十一月
十一月
(2)
Subscribe to updates
博文
Atom
博文
Android Developers
Android Studio
Preview
Release Updates
ConstraintLayout 2.0.3
2020年10月27日星期二
ConstraintLayout 2.0.3 is now available on the google maven repository:
dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.0.3'
}
or if using the android.support packages:
dependencies {
implementation 'com.android.support.constraint:constraint-layout:2.0.3'
}
Documentation & Examples
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
Source is available on
https://github.com/AndroidX/constraintlayout
Bugfixes
This releases fixes a few issues. It is recommended to update to this version.
Windows insets handling
Handling of dimension ratio in some situations (regression in 2.0.2)
Crash with some RTL layouts (regression in 2.0.2)
List of issues closed with this release:
Can not set view visibility in InsetsListener callback without request layout
169262776
ConstraintLayout 2.0.2 broke layout_constraintDimensionRatio
170313444
Internal crash when solving constraints in 2.0.2
170316875
Broken app:layout_constraintWidth_max="wrap" in version 2.0.2
170541907
NPE on VelocityTracker when swiping view in RecyclerView
170727611
In 2.0.2, children with layout_width="0dp", and managed by a vertical Flow, do not match the Flow's width
170884549
Elements not shown when using barrier and ConstraintLayout height is set to wrap_content
171458571
View height issue when using layout_constrainedHeight
170189141
MotionLayout crashes in onAttachedToWindow() if applyMotionScene="false" or if no layout description specified
171053913
layout_constraintHorizontal_bias RTL
171334510