From c3e18e8ab42989c9f19f3eabcac38ef5749e8d5f Mon Sep 17 00:00:00 2001 From: Daniel Frett Date: Wed, 11 Dec 2024 13:46:01 -0700 Subject: [PATCH] update lesson layout to support edge-to-edge mode in Android 15 --- .../src/main/res/layout/lesson_activity.xml | 115 ++++++++++-------- 1 file changed, 61 insertions(+), 54 deletions(-) diff --git a/ui/lesson-renderer/src/main/res/layout/lesson_activity.xml b/ui/lesson-renderer/src/main/res/layout/lesson_activity.xml index b58e155413..4b5316aebd 100644 --- a/ui/lesson-renderer/src/main/res/layout/lesson_activity.xml +++ b/ui/lesson-renderer/src/main/res/layout/lesson_activity.xml @@ -18,69 +18,76 @@ - - - - - - + android:background="@color/black" + android:fitsSystemWindows="true"> + android:background="@{ManifestKt.getBackgroundColor(manifest)}"> + + + + + + - + app:visibleIf="@{loadingState == LoadingState.LOADED}"> - - + - + + - - + + + + +