From 862046389ef9aa4a941d45277a46ad217738c542 Mon Sep 17 00:00:00 2001 From: jhg3410 <80373033+jhg3410@users.noreply.github.com> Date: Sat, 28 Jan 2023 17:21:18 +0900 Subject: [PATCH] #2 - MySoothe App - Scaffold --- .../main/java/com/codelab/basiclayouts/MainActivity.kt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/BasicLayoutsCodelab/app/src/main/java/com/codelab/basiclayouts/MainActivity.kt b/BasicLayoutsCodelab/app/src/main/java/com/codelab/basiclayouts/MainActivity.kt index b95edf0..7f03a87 100644 --- a/BasicLayoutsCodelab/app/src/main/java/com/codelab/basiclayouts/MainActivity.kt +++ b/BasicLayoutsCodelab/app/src/main/java/com/codelab/basiclayouts/MainActivity.kt @@ -252,7 +252,14 @@ private fun SootheBottomNavigation(modifier: Modifier = Modifier) { // Step: MySoothe App - Scaffold @Composable fun MySootheApp() { - // Implement composable here + + MySootheTheme() { + Scaffold( + bottomBar = { SootheBottomNavigation() } + ) { padding -> + HomeScreen(modifier = Modifier.padding(padding)) + } + } } private val alignYourBodyData = listOf(