Join Slack
Powered by
Is there something similar to <Barriers> in Constr...
# compose
m
mbonnin
06/24/2020, 1:49 PM
Is there something similar to
Barriers
in ConstraintLayout ?
s
samueldple
06/24/2020, 2:19 PM
If you're using the compose constraint layout (
https://developer.android.com/reference/kotlin/androidx/ui/layout/constraintlayout/package-summary#ConstraintLayout(androidx.ui.layout.constraintlayout.ConstraintSet,%20kotlin.Function0)
), you can still use barriers
v
Vinay Gaba
06/24/2020, 4:11 PM
Here’s some code to see it in action -
https://github.com/vinaygaba/Learn-Jetpack-Compose-By-Example/blob/master/app/src/main/java/com/example/jetpackcompose/layout/ConstraintLayoutActivity.kt#L230
m
mbonnin
06/24/2020, 4:11 PM
Thanks!
🙌🏼 1
5
Views
Open in Slack
Previous
Next