ConstraintLayout 2.0.0 beta 8

ConstraintLayout 2.0.0 beta 8

我们很高兴地宣布ConstraintLayout 2.0 beta 8 的发布。

它可以从 google maven repository 中获得:

dependencies {  
    implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta8'  
}  

或者如果使用 android.support 包:

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

文档:

示例:https://github.com/android/views-widgets-samples/tree/master/ConstraintLayoutExamples

Bug 修复

本次更新修复 Bug 如下:

  • Placeholder behavior
  • Layer visibility
  • Flow, Barrier fixes
  • TransitionListener fixes
spread_inside chain incorrect position 160721889
Using transformPivotX in MotionScene causes NumberFormatException 160100638
group visibility doesn't apply correctly in 2.0 beta 6 157599997
PlaceHolder wrap-content issue on 2.0.0-beta3 version 145317510
PlaceHolder not working 143233549
ResourcesImpl getIdentifier attempts to parse identifier name as integer for no apparent reason. 155970557
Compile time check for a group referencing itself 158112990
ArrayIndexOutOfBoundsException with Constraint Flow on RecylcerView items 156660902
First motions goes on false position 146620824
transitionToStart() not as expected when transition change very quick 154069247
MotionLayout still leaks nested scrollable view in its mScrollTarget field 158941183
[MotionLayout] addTransitionListener throws NullPointerException 159104189
Incorrect positioning of Barriers in 2.0.0-beta5 159540431
Bug: including unused barrier breaks preview + on-device layout 157867784
Issue with ConstraintLayout barriers when using horizontal bias in 2.0.0-beta6 158585672
<OnClick> doesn't have the same behavior as MotionLayout.transitionToState(int) 146010214
[2.0.0-beta4] MotionLayout calling transitionToEnd() in lifecycle methods bug 151242173
[MotionLayout] No widget for XXXX exception is logged 138261133
MotionLayout state reset during fragment transaction 137174583
MotionLayout internal state is corrupted after using setProgress() too early in view lifecycle 148330097
MotionLayout can not transition when naviagte back 159582390
Weird status after coming back to MotionLayout 137173765
[MotionLayout] OnSwipe doesn't work if finger moved slowly 157424691
[MotionLayout] onTransitionCompleted doesn't work on api level 17 156853974

版权声明

禁止一切形式的转载-禁止商用-禁止衍生 申请授权

脉脉不得语
脉脉不得语
Zhengzhou Website
Android Developer | https://androiddevtools.cn and https://androidweekly.io WebMaster | GDG Zhengzhou Funder & Ex Organizer | http://Toast.show(∞) Podcast Host

你已经成功订阅到 Android 开发技术周报
太棒了!接下来,完成检验以获得全部访问权限 Android 开发技术周报
欢迎回来!你已经成功登录了。
Unable to sign you in. Please try again.
成功!您的帐户已完全激活,您现在可以访问所有内容。
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.