I have a LazyColumn
that contains 3 items:
LazyColumn(
modifier = Modifier.fillMaxSize()
) {
item {
Text("Some text..."}
Text("Some text..."}
}
item {
Spacer(
modifier = Modifier.weight(1f)
)
Text("Copyright © Max 2024")
}
}
My aim is to place the “Copyright…” text at the bottom of the screen. The problem is that I cannot use a Spacer
with Modifier.weight(1f)
. How can I solve this problem without using a Column
?