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
(32)
►
April
April
(9)
►
Maret
Maret
(6)
►
Februari
Februari
(8)
►
Januari
Januari
(9)
►
2023
2023
(76)
►
Desember
Desember
(4)
►
November
November
(9)
►
Oktober
Oktober
(7)
►
September
September
(8)
►
Agustus
Agustus
(3)
►
Juli
Juli
(4)
►
Juni
Juni
(6)
►
Mei
Mei
(10)
►
April
April
(4)
►
Maret
Maret
(7)
►
Februari
Februari
(9)
►
Januari
Januari
(5)
►
2022
2022
(59)
►
Desember
Desember
(3)
►
November
November
(5)
►
Oktober
Oktober
(8)
►
September
September
(4)
►
Agustus
Agustus
(4)
►
Juli
Juli
(2)
►
Juni
Juni
(7)
►
Mei
Mei
(6)
►
April
April
(5)
►
Maret
Maret
(6)
►
Februari
Februari
(5)
►
Januari
Januari
(4)
►
2021
2021
(54)
►
Desember
Desember
(3)
►
November
November
(2)
►
Oktober
Oktober
(6)
►
September
September
(4)
►
Agustus
Agustus
(5)
►
Juli
Juli
(8)
►
Juni
Juni
(4)
►
Mei
Mei
(5)
►
April
April
(1)
►
Maret
Maret
(7)
►
Februari
Februari
(4)
►
Januari
Januari
(5)
►
2020
2020
(107)
►
Desember
Desember
(7)
►
November
November
(3)
►
Oktober
Oktober
(8)
►
September
September
(6)
►
Agustus
Agustus
(11)
►
Juli
Juli
(14)
►
Juni
Juni
(10)
►
Mei
Mei
(12)
►
April
April
(11)
►
Maret
Maret
(11)
►
Februari
Februari
(6)
►
Januari
Januari
(8)
►
2019
2019
(145)
►
Desember
Desember
(16)
►
November
November
(12)
►
Oktober
Oktober
(10)
►
September
September
(13)
►
Agustus
Agustus
(12)
►
Juli
Juli
(6)
►
Juni
Juni
(9)
►
Mei
Mei
(18)
►
April
April
(14)
►
Maret
Maret
(12)
►
Februari
Februari
(10)
►
Januari
Januari
(13)
►
2018
2018
(128)
►
Desember
Desember
(13)
►
November
November
(12)
►
Oktober
Oktober
(10)
►
September
September
(10)
►
Agustus
Agustus
(16)
►
Juli
Juli
(10)
►
Juni
Juni
(13)
►
Mei
Mei
(9)
►
April
April
(11)
►
Maret
Maret
(12)
►
Februari
Februari
(9)
►
Januari
Januari
(3)
▼
2017
2017
(48)
►
Desember
Desember
(3)
►
November
November
(2)
►
Oktober
Oktober
(8)
►
September
September
(3)
►
Agustus
Agustus
(4)
►
Juli
Juli
(3)
►
Juni
Juni
(3)
►
Mei
Mei
(4)
►
April
April
(5)
►
Maret
Maret
(5)
▼
Februari
Februari
(6)
ConstraintLayout 1.0 is now available
Android Studio 2.3 RC 1 is Now Available
ConstraintLayout beta 5 is now available
Android Studio 2.3 Beta 4 is now available
Android Emulator Revision 25.3.0 (Feb 2017)
Android SDK Tools Revision 25.3.0 (Feb 2017)
►
Januari
Januari
(2)
►
2016
2016
(5)
►
Desember
Desember
(3)
►
November
November
(2)
Subscribe to updates
Postingan
Atom
Postingan
Android Developers
Android Studio
Preview
Release Updates
ConstraintLayout beta 5 is now available
Kamis, 09 Februari 2017
We just published ConstraintLayout beta 5. As always, it's available in the SDK Manager (under the "Support Repository" section). We recommend to update to this version -- it will be the last beta before 1.0 and is considered as the release candidate.
Key Changes:
Use of
MATCH_PARENT
now throws exception
Improved
performance
in wrap_content use cases (30-40%)
Better view
dimension control
(6 new attributes)
Improved behaviour of
gone
in chains
Aspect ratio
enhancements
Increased coverage of apis in
ConstraintSet
(chains, transforms, etc.). See
documentation
.
Note
: if you are using Android Studio 2.2, you might have to do File->Invalidate Caches & restart studio after installing this version (the editor behavior may not be correct, with widgets temporarily snapping to the top left corner or not shown). Using Android Studio 2.3 is strongly encouraged.
MATCH_PARENT
MATCH_PARENT
is not valid in ConstraintLayout when set on its children, and its behavior undefined. To reduce the risk of errors we now throws an exception if we encounter it.
Improved performance
This release fixes a few issues and performance improvements (notably,
wrap_content
measure on the layout got a ~30-40% speed bump).
Better view dimension controls
The new available behaviors when a dimension is set to
0dp
(
MATCH_CONSTRAINT
). As before, both endpoints (left/right or top/bottom) need to be connected to targets.
layout_constraintWidth_default
= spread
(default, similar to the previous behavior)
layout_constraintWidth_default
= wrap
layout_constraintHeight_default
= spread
layout_constraintHeight_default
= wrap
Additionally, minimum and maximum dimensions can be specified (they will only apply to MATCH_CONSTRAINT widgets):
layout_constraintWidth_min
= [dimension]
layout_constraintWidth_max
= [dimension]
layout_constraintHeight_min
= [dimension]
layout_constraintHeight_max
= [dimension]
Spread
provides the previous behaviour of expanding to fill the area defined by the constraints.
Wrap
provides a significant new behaviour, with the widget resizing as if wrap_content was used, but limited by the connected constraints. A widget will thus not grow beyond the endpoints.
Gone Behavior in Chains
Previously, this was not handled -- views in a Chain would disappear but still take space. Now, if a view in a chain is marked as GONE, the chain will react as if the view didn’t exist.
Improved Ratio Support
Here the widget has both dimension set to MATCH_CONSTRAINT (0dp), and the attribute layout_constraintDimensionRatio=”16:9”