Zoomable
Zoomable copied to clipboard
How about inner composable that are bigger than Zoomable composable ?
Hi,
Works like a charm but how about inner composable that are bigger than Zoomable composable ?
Let's see an example :
val state = rememberZoomableState()
Zoomable(
modifier = Modifier.fillMaxSize(),
state = state
) {
Column(
modifier = Modifier.align(Alignment.Center),
horizontalAlignment = Alignment.CenterHorizontally
) {
Text(
text = "TEST"
)
Image(
painter = painterResource(id = R.drawable.big_drawable),
contentDescription = null
)
Text(
text = "TEST"
)
Image(
painter = painterResource(id = R.drawable.big_drawable),
contentDescription = null
)
}
}
Here if the screen height is not enough, you won't see the second image.
Did you got any solution?