Is there a way to prioritize one Text content over...
# compose
r
Is there a way to prioritize one Text content over another in ConstraintLayout? Details in thread.
I put two texts, A and B, adjacent horizontally, spanning their parent. (A’s start linked to parent.start, B’s start linked to A’s end, and B’s end to parent.end.) When there is not enough room, B is truncated. I’d like it to truncate A instead. How to tell it to do that? I tried setting the Modifier.weight(…) of A and B, but that seems to do nothing.