Istvan Beri
12/03/2021, 7:03 PM@Composable
fun TestScreen() {
Column(
modifier = Modifier
.fillMaxSize(),
horizontalAlignment = Alignment.CenterHorizontally
) {
Image(
painter = rememberImagePainter("<https://cdn.vox-cdn.com/uploads/chorus_image/image/47684009/Screenshot_2014-07-19_15.24.57.0.png>"),
contentDescription = null,
modifier = Modifier
.fillMaxHeight(0.4f)
)
Button(onClick = { }) { }
}
}
If I add a .verticalScroll(rememberScrollState())
modifier to the Column
the image doesn't show up anymore, only the button. What am I doing wrong or what do I miss?tad
12/03/2021, 8:48 PMIstvan Beri
12/03/2021, 9:13 PMtad
12/03/2021, 9:15 PM