Are you sure you are using the right theme? I can see multiple ones there, for example: ModalBottomSheet, AppModalBottomSheet and AppStandardBottomSheet , make sure you are using the last one.

Maybe the DayNight is not working properly? Try the Light one to make sure that one is working properly? (that’s the one I used).

And are you sure you are applying the theme properly? You can programmatically set it to a specific BottomSheetDialog by doing:

class RoundedBottomSheet : BottomSheetDialogFragment() {

override fun getTheme(): Int = R.style.BottomSheetRoundedDialogTheme

override fun onCreateDialog(savedInstanceState: Bundle?): Dialog = BottomSheetDialog(requireContext(), theme)
}

Senior Android Engineer @WeTransfer 🤖 🇻🇪🇮🇹 Paraglider, Runner, Kayaker.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store