https://kotlinlang.org logo
#compose
Title
# compose
u

ursus

02/23/2023, 7:10 PM
How do I add system insets to
ModalBottomSheetLayout
the correct way (when sheet content is fill max size? • Adding
systemBarsPadding
to the modal it self, that makes the scrim be inset, i.e the statusbar is not tinted by the scrim • Adding
systemBarsPadding
to the
sheetContent
, that just makes the sheet it self taller even in the collapsed state How are not what should happen - sheetContent should only go below the statusbar (scrim should go over statusbar), i.e. decrement the sheet top position by statusbar height Possible?