This repository was archived by the owner on May 14, 2025. It is now read-only.

Description
This is something accomplished using Barrier in ConstraintLayout, but I think we can make it more straightforward.
Given views A, B, C:
Scenarios
- Aligning a view A to at any given time be to the left of both B and C
- Aligning a view A to at any given time be to the right of both B and C
- Aligning a view A to at any given time be horizontally centered to the middle point between B and C
- Aligning a view A to at any given time be above both B and C
- Aligning a view A to at any given time be below both B and C
- Aligning a view A to at any given time be vertically centered to the middle point between B and C
When the layout of B or C is updated, the positioning of A must be updated.