kotlinforandroid07/05/2022, 11:42 AM
? I always compared it to
but it seems that it is OK to nest
. Even Now In Android does it. https://github.com/android/nowinandroid. It
just a special kind of
following some Material design parameters?
sindrenm07/05/2022, 11:48 AM
is just a container that positions typical elements on a Material screen correctly. It places your floating action buttons, top bars, bottom bars and stuff, and makes sure that they adhere to Material guidelines such as moving the FAB when a snackbar pops up etc. Nesting several `Scaffold`s is not a problem, as long as you keep track of the various `ScaffoldState`s. 😒imple_smile:
kotlinforandroid07/05/2022, 11:50 AM
below it. And the content of the second scaffold draws over its own TopBar. Do I have to somehow use padding to make this work?
Scaffold(BottomBar) -> Scaffold(TopBar)
sindrenm07/05/2022, 11:54 AM
block of the
. You should probably apply that, yeah. 👍