Tin Tran
06/30/2021, 9:24 AMscale(Scale.FILL)
but it didn’t workcb
06/30/2021, 9:27 AMcontentScale
parameter on Image()
Tin Tran
06/30/2021, 9:31 AMBox(modifier = Modifier
.fillMaxWidth()
.fillMaxHeight(.35f)
.background(Color.Red)
) {
Image(
painter = rememberCoilPainter(
request = "<https://clubhouse.golftec.com/asset/1624419776645-shop-banner.jpeg>",
fadeIn = true,
),
contentDescription = "",
contentScale = ContentScale.FillBounds
)
}
Tin Tran
06/30/2021, 9:32 AMmodifier = Modifier.fillMaxSize()
did the trickTin Tran
06/30/2021, 9:32 AM