Zaki Shaikh
02/18/2023, 5:38 AMZaki Shaikh
02/18/2023, 5:39 AMColumn(
modifier = modifier
.height(200.dp)
.background(color = Color.Cameron, shape = RectangleShape)
.clip(RectangleShape)
.clickable(onClick = onClick),
verticalArrangement = Arrangement.SpaceEvenly,
horizontalAlignment = Alignment.CenterHorizontally
) {
RemoteImage(
modifier = Modifier
.clip(CircleShape)
.fillMaxSize(.7F),
imageLink = imageLink,
contentScale = ContentScale.FillBounds,
error = error
)
Text(
text = title,
color = Color.White,
fontWeight = FontWeight.Bold,
textAlign = TextAlign.Center,
style = MaterialTheme.typography.overline,
modifier = Modifier.padding(top = spacing.extraSmall)
)
}
Zaki Shaikh
02/18/2023, 5:39 AMZaki Shaikh
02/18/2023, 5:39 AMRemoteImage(
modifier = Modifier
.clip(CircleShape)
.fillMaxWidth(.7f)
.fillMaxHeight(.6f),
imageLink = imageLink,
contentScale = ContentScale.FillBounds,
error = error
)
Zaki Shaikh
02/18/2023, 5:40 AMStylianos Gakis
02/18/2023, 10:32 AMZaki Shaikh
02/18/2023, 11:27 AM