Billy Newman
03/18/2023, 8:41 PMBilly Newman
03/18/2023, 8:41 PMModalBottomSheetLayout(bottomSheetNavigator) {
Scaffold(
bottomBar = {
AnimatedVisibility(
visible = bottomBarVisibility,
enter = fadeIn(animationSpec = tween()),
exit = fadeOut(animationSpec = tween()),
content = {
...
Billy Newman
03/18/2023, 8:58 PMbottomBar = {
Box(Modifier.background(MaterialTheme.colorScheme.surface)) {
AnimatedVisibility(
visible = bottomBarVisibility,
enter = fadeIn(animationSpec = tween()),
exit = fadeOut(animationSpec = tween()),
content = {
Ian Lake
03/18/2023, 10:12 PMwindowBackground
of the theme of your activity? That's the default background color when there are no composables drawing anything over itBilly Newman
03/19/2023, 3:41 PM<item name="android:windowBackground">@android:color/black</item>
Billy Newman
03/19/2023, 3:54 PMScaffold(
backgroundColor = MaterialTheme.colorScheme.surface
...