Skip to content

2.1.3

Compare
Choose a tag to compare
@oscar-ad oscar-ad released this 14 Jan 19:26
31aada5

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