ste
06/06/2021, 9:36 AMstart.linkTo(anchor = parent.start, margin = 36.dp)
leads to the first image (start margin is okay, but I'd like to set a end margin too)
But when adding end.linkTo(anchor = parent.end, margin = 36.dp)
, it leads to the second image, where none of the margin is okay because the text is too large.
What can I do? Adding a padding
won't work because the lower text (0
) wouldn't be aligned to the upper textColton Idle
06/06/2021, 1:00 PMste
06/06/2021, 3:04 PMConstraintLayout
. Also yup, I could do that with a Column
, but the layout will be more complex than this, don't want to nest many Rows
and Columns
. The problem here is width exceeds marginsColton Idle
06/06/2021, 8:44 PMste
06/07/2021, 11:12 AMste
06/07/2021, 11:14 AMwidth = Dimension.fillToConstraints
within the ConstraintScope
ste
06/07/2021, 11:15 AM