skydoves / FlexibleBottomSheet

🐬 Advanced Compose Multiplatform bottom sheet for segmented sizing, non-modal type, and allows interaction behind the bottom sheet similar to Google Maps.
Apache License 2.0
791 stars 36 forks source link

Make bottom sheet fullscreen (without Android status bar) #19

Closed sme3005 closed 5 months ago

sme3005 commented 9 months ago

In my app I want the status bar from Android at the top of the screen (where time and battery status are shown) to not be visible. Unfortunately, I didn't find a working solution to expand to the status bar area in the FullyExpanded sheet state. Instead, on top of the bottom sheet there is some space (where normally the top bar is placed) and there is no way to close the space and make the bottom sheet to fully expand to the top of the screen.

I already tried:

skydoves commented 5 months ago

Hi @sme3005 , sorry for the delayed response. You can check out the sample1 code for dimming the status bar while you're displaying the bottom sheet like the given screenshot below:

Screenshot 2024-06-06 at 2 45 20 PM

If you are still facing the same issue after referring to the code, please re-open it. Thanks!