https://kotlinlang.org logo
#compose
Title
# compose
z

zoha131

10/02/2020, 7:07 PM
Is there any way to use
matchConstraint
in compose
ConstraintLayout
?
i just found the api.
Copy code
constrainAs(contentRef) { 
     linkTo(top = welcomeRef.bottom, bottom = <http://policyRef.top|policyRef.top>)
     linkTo(start = parent.start, end = parent.end)
     height = Dimension.fillToConstraints
     width = Dimension.fillToConstraints
  }
2 Views