How to Set Specific Heights for a BottomSheetDialog in Android Studio Compose

27 Views Asked by At

enter image description hereI'm currently working with Android Studio Compose and I'm looking to set specific heights for a BottomSheetDialog. I need the heights to be 50%, 75%, and 100% of the full screen height respectively as attached image. Does anyone know how to achieve this in Compose? Any guidance would be greatly appreciated.

I attempted to override the built-in module to change specific height ratios, but I encountered an error stating that I couldn't modify variables defined as internal.

0

There are 0 best solutions below