xxxxxxxxxx
val animatedProgress = remember { Animatable(1f) }
LaunchedEffect(animatedProgress) {
animatedProgress.animateTo(0.5f,
animationSpec = tween(
durationMillis = 2000,
delayMillis = 2000
))
}
Image(
painterResource(id = R.drawable.xxx), "contentDescription",
modifier = Modifier
.size(100.dp)
.graphicsLayer{
scaleY = animatedProgress.value,
scaleX = animatedProgress.value
}