Codeplayon

Hi Developer in this jetpack compose article I share how to create a bottom sheet in Android jetpack compose. In the Android jetpack compose there are Two types of the bottom sheet. It’s a BottomSheetScaffold and the ModalBottomSheetLayout bottom sheet.

Jetpack compose Bottom Sheet type.

  • BottomSheetScaffold
  • ModalBottomSheetLayout

BottomSheetScaffold:- doesn’t block the screen’s main UI when it appears, and Also you can view or interact with both (main screen UI and bottom sheet) concurrently. Also, you can set a bottom sheet height to show part of it all the time.

ModalBottomSheetLayout:- This is like a popup view. It shows up when you press a button and they block the interaction with the main screen.

bottom Sheet Android Example

--

--

Codeplayon

Codeplayon

Codeplayon — Learn , Explore and Share your Skill Android , 5G , IOT , LTE , Android Solution visit our website :- http://www.codeplayon.com