github androidx/constraintlayout 2.1.3

latest releases: compose-1.1.0-alpha04, 2.2.0-alpha03, 2.2.0-alpha02...
2 years ago

Point release of the constraintlayout library.

ConstraintLayout

  • Add getSceneString on ConstraintLayout which gets a json formatted dump of the layout and constraints
  • Add attribute to GuideLine guidelineuseRTL to enable / disable if guideline is using RTL

ConstraintLayout Compose

  • add support for Margin in barrier id: {type: 'barrier', direction: 'end' , contains: ['id1', 'id2'], margin: -12}
  • add json support for vbias/hbias id: { centerVertically: 'parent', vBias: 0.45 }
  • improve json min/max support width: { value: 'wrap', max: 300, min:20 },
  • mprove chain in dsl val chain1 = createHorizontalChain(box1, box2, chainStyle = ChainStyle.Spread)
  • add DSL for goneMargin , Reset dimensions and transforms
  • add bias centerHorizontallyTo(parent, bias = 0.2f)

MotionLayout Compose

  • Make Compose MotionLayout @ExperimentalMotionApi

Don't miss a new constraintlayout release

NewReleases is sending notifications on new releases.