Alexander Black
03/26/2022, 1:29 AMoverlay = {
if (it.isSelected) {
Box(
Modifier
.size(if (it.rentalLength != null) 245.dp else 222.dp)
.alpha(0.6f)
.background(DownpourTheme.colors.primary)
)
}
}
)
but the size being hardcoded is obviously not ideal. Wondering if there’s an easy way to measure the size of the card my box is trying to overlay?Chris Sinco [G]
03/26/2022, 5:40 AMAlexander Black
03/26/2022, 1:47 PMAlexander Black
03/26/2022, 2:19 PMChris Sinco [G]
03/26/2022, 4:06 PMAlexander Black
03/31/2022, 8:57 PM