Modal bottom sheets with BottomSheetDialog

suggest change

The BottomSheetDialog is a dialog styled as a bottom sheet

Just use:

//Create a new BottomSheetDialog
BottomSheetDialog dialog = new BottomSheetDialog(context);
//Inflate the layout R.layout.my_dialog_layout
//Show the dialog;

In this case you don’t need to attach a BottomSheet behavior.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents