diff --git a/docs/components/BottomSheet.md b/docs/components/BottomSheet.md index a476c75ae5d..b52b12b5256 100644 --- a/docs/components/BottomSheet.md +++ b/docs/components/BottomSheet.md @@ -198,6 +198,19 @@ specifying any of these to true on the view: On API 21 and above the modal bottom sheet will be rendered fullscreen (edge to edge) if the navigation bar is transparent and `app:enableEdgeToEdge` is true. +To enable edge-to-edge by default for modal bottom sheets, you can override +`?attr/bottomSheetDialogTheme` like the below example: + +``` + + + +``` Insets can be added automatically if any of the padding attributes above are set to true in the style, either by updating the style passed to the constructor, or