Ticker

6/recent/ticker-posts

Header Ads Widget

ConstraintLayout 2.1.0 beta 2

 We are happy to announce the release of ConstraintLayout 2.1.0 beta 2, with several fixes.


dependencies {

    implementation 'androidx.constraintlayout:constraintlayout:2.1.0-beta02'

}


What's new in 2.1.0

More information about the new features in 2.1.0 can be found on the wiki, the source code is available on https://github.com/androidx/constraintlayout


MotionLayout

A few new features:

  • OnSwipe enhancement including spring (stiffness, damping, mass etc) & never complete
  • jumpToState function
  • ViewTransition downUp mode where on touch Down it plays to 100 and on up reverses to 0
Various fixes, notably:
  • Fix problem in MotionLayout with vertical scroll (#173)
  • Perf improvements on nested MotionLayout (#189)
  • Fast transition with NestedScrollView in MotionLayout (#189)
  • ConstraintSet gone in MotionLayout (#189)
  • Support downUp ViewTransitions in MotionLayout (#190)
  • Fix in ImageFilter when reusing drawables (#192)
  • Add spring support in MotionLayout (#199)
  • Performance improvement to CircularFlow (#200)
  • Fixes in derived constraints / constraint override (#212)


from Android Studio Release Updates https://androidstudio.googleblog.com/2021/05/constraintlayout-210-beta-2.html

Post a Comment

0 Comments