rey5137/material

Not cancelable

XxaayadixX opened this issue · 0 comments

Hi !
i would like to cancel my BottomSheetDialog when i get click outside the view but it does't work,
if i want to cancel this i must be slide in bottom.
Can you help me ?

`dialog = new BottomSheetDialog(view.getContext());

dialog.setContentView(view);
dialog.heightParam(ViewGroup.LayoutParams.WRAP_CONTENT);
dialog.inDuration(200);
dialog.cancelable(true);
dialog.canceledOnTouchOutside(true);`