Skip to content

Instantly share code, notes, and snippets.

@cp-radhika-s
Created April 5, 2022 10:08
Show Gist options
  • Save cp-radhika-s/a518d97abe227ff6150e425847b053fb to your computer and use it in GitHub Desktop.
Save cp-radhika-s/a518d97abe227ff6150e425847b053fb to your computer and use it in GitHub Desktop.
LazyRow(
modifier = Modifier
.fillMaxHeight(0.3f)
.fillMaxWidth()
.background(Color.LightGray, shape = RoundedCornerShape(topEnd = 10.dp, topStart = 10.dp))
.padding(vertical = 10.dp)
.align(Alignment.BottomCenter),
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.Center
) {
items(items = persons) { person ->
PersonCard(person)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment