Zach
LazyColumn
ScreenHeight
V_SCROLL
FULL_EXPAND
@Composable private fun TestTypePreview() { LazyColumn( modifier = Modifier .padding(vertical = 4.dp) .testTag(TYPE_PREVIEW_LIST_TAG) ) { items(items = textStyleList) { pair -> TestTextSample(name = pair.first, textStyle = pair.second) } } } @Composable private fun TestTextSample(name: String, sample: String, textStyle: TextStyle) { Row { Text(name, style = textStyle, color = MaterialTheme.colors.secondary, modifier = Modifier.padding(end = 12.dp)) Text(sample, style = textStyle, color = MaterialTheme.colors.secondary) } }
yschimke
A modern programming language that makes developers happier.