We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is something accomplished using Barrier in ConstraintLayout, but I think we can make it more straightforward.
Barrier
ConstraintLayout
Given views A, B, C:
When the layout of B or C is updated, the positioning of A must be updated.
The text was updated successfully, but these errors were encountered:
Can't we do that already?
Sorry, something went wrong.
I'm pretty sure this is (now) supported.
1. x = leftOf { minOf(B.left(), C.left()) } 2. x = rightOf { maxOf(B.right(), C.right()) } 3. x = centerHorizontallyTo { XInt(abs(B.left().value - A.right().value)) } 4. etc
aerb
No branches or pull requests
This is something accomplished using
Barrier
inConstraintLayout
, but I think we can make it more straightforward.Given views A, B, C:
Scenarios
When the layout of B or C is updated, the positioning of A must be updated.
The text was updated successfully, but these errors were encountered: