Skip to content

Commit f87e4f0

Browse files
Fix: Restore main Column layout in PhotoReasoningScreen
This commit restores `Modifier.fillMaxHeight()` and explicit `verticalArrangement = Arrangement.Top` to the main `Column` in `PhotoReasoningScreen.kt`. The order of elements within this Column has been previously verified to be correct, with the `LazyColumn` for chat messages using `Modifier.weight(1f)` and the status cards' `Column` being the last major UI element. This configuration is the standard way to ensure footer elements are pushed to the bottom of a full-height screen.
1 parent d03b6a5 commit f87e4f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/kotlin/com/google/ai/sample/feature/multimodal/PhotoReasoningScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ fun PhotoReasoningScreen(
274274
}
275275

276276
Column(
277-
modifier = Modifier.padding(all = 16.dp)
277+
modifier = Modifier.padding(all = 16.dp).fillMaxHeight(),
278+
verticalArrangement = Arrangement.Top
278279
) {
279280
Card(
280281
modifier = Modifier.fillMaxWidth().padding(bottom = 16.dp),

0 commit comments

Comments
 (0)