https://kotlinlang.org logo
s

Simonas Brazauskas

09/16/2022, 1:25 PM
Hello, it is possible to specify weight for an item in a column, but with minimum height? So item expands to fill empty space, but does not shrink below minimum height? Something like
Copy code
LottieAnimation(
    modifier = Modifier
        .fillMaxWidth()
        .weight(1f)
        .heightIn(min = 200.dp),
    composition = composition,
    progress = { progress },
    contentScale = ContentScale.Crop
)
4 Views