Skip to content

Commit

Permalink
Added empty composable screens to set up bottom navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
judahben149 committed Sep 10, 2023
1 parent 513cff0 commit f88f152
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package com.judahben149.serenade.ui.screens

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.Preview

@Composable
fun HomeScreen() {
Box(modifier = Modifier.background(color = Color.Blue))
}

@Preview(showBackground = true)
@Composable
fun HomeScreenPreview() {
HomeScreen()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.judahben149.serenade.ui.screens

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.Preview

@Composable
fun LibraryScreen() {
Box(modifier = Modifier.background(color = Color.Blue))
}

@Preview(showBackground = true)
@Composable
fun LibraryScreenPreview() {
LibraryScreen()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.judahben149.serenade.ui.screens

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.Preview

@Composable
fun LocalScreen() {
Box(modifier = Modifier.background(color = Color.Blue))
}

@Preview(showBackground = true)
@Composable
fun LocalScreenPreview() {
LocalScreen()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.judahben149.serenade.ui.screens

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.Preview

@Composable
fun SettingsScreen() {
Box(modifier = Modifier.background(color = Color.Blue))
}

@Preview(showBackground = true)
@Composable
fun SettingsScreenPreview() {
SettingsScreen()
}

0 comments on commit f88f152

Please sign in to comment.