Paul Woitaschek
04/26/2021, 12:28 PMColton Idle
04/26/2021, 12:59 PMAndrey Kulikov
04/26/2021, 2:27 PMAdam Powell
04/26/2021, 2:33 PMPaul Woitaschek
04/26/2021, 2:34 PMPaul Woitaschek
04/26/2021, 2:34 PMTimo Drick
04/26/2021, 2:35 PMPaul Woitaschek
04/26/2021, 2:36 PMPaul Woitaschek
04/26/2021, 2:38 PMah, if this is about disabling clipping on the ComposeView, yeah this makes sense. ComposeView keeps an AndroidComposeView as a single child that Compose renders into for a bunch of historical reasons; setting the clip on the outer CompoeView won't propagate.Line 355 of AndroidComposeView sets clipChildren to false?
Adam Powell
04/26/2021, 2:51 PMPaul Woitaschek
04/26/2021, 3:22 PMPaul Woitaschek
04/26/2021, 3:23 PMPaul Woitaschek
04/26/2021, 3:37 PMLazyList
uses clipToBounds
😕Timo Drick
04/26/2021, 3:41 PMPaul Woitaschek
04/26/2021, 3:42 PMTimo Drick
04/26/2021, 3:44 PMPaul Woitaschek
04/26/2021, 3:46 PMPaul Woitaschek
04/26/2021, 3:49 PMTimo Drick
04/26/2021, 3:59 PMval test = listOf("A", "B", "C")
LazyRow(contentPadding = PaddingValues(horizontal = 0.dp, vertical = 16.dp)) {
items(test) {
Card(Modifier.padding(8.dp), elevation = 16.dp) {
Box(Modifier.size(200.dp), contentAlignment = Alignment.Center) {
Text(it)
}
}
}
}
Paul Woitaschek
04/26/2021, 4:00 PMTimo Drick
04/26/2021, 4:01 PMPaul Woitaschek
04/26/2021, 4:02 PMPaul Woitaschek
04/26/2021, 4:02 PMTimo Drick
04/26/2021, 4:02 PMPaul Woitaschek
04/26/2021, 4:03 PMPaul Woitaschek
04/26/2021, 4:03 PMPaul Woitaschek
04/26/2021, 4:03 PMTimo Drick
04/26/2021, 4:05 PMColumn {
val test = listOf("A", "B", "C")
LazyRow() {
items(test) {
Card(Modifier.padding(8.dp), elevation = 16.dp) {
Box(Modifier.size(200.dp), contentAlignment = Alignment.Center) {
Text(it)
}
}
}
}
Box(Modifier.size(100.dp).background(Color.Red))
}
Timo Drick
04/26/2021, 4:06 PMPaul Woitaschek
04/26/2021, 4:07 PMTimo Drick
04/26/2021, 4:09 PM