Skip to content

Instantly share code, notes, and snippets.

@ssindher11
Created January 29, 2022 07:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssindher11/c70e03958ec1a017669c307cb314e7a2 to your computer and use it in GitHub Desktop.
Save ssindher11/c70e03958ec1a017669c307cb314e7a2 to your computer and use it in GitHub Desktop.
Surface(color = colorResource(id = R.color.gray),
modifier = Modifier.constrainAs(bottomSurface) {
top.linkTo(descText.bottom, 36.dp)
bottom.linkTo(parent.bottom)
start.linkTo(parent.start)
end.linkTo(parent.end)
width = Dimension.fillToConstraints
height = Dimension.fillToConstraints
}
) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment