Writing it here since other blogposts don’t mention it and I’ve spent 4 hours before figuring this out:

make sure to extend the ThemeOverlay.MaterialComponents.*.BottomSheetDialog theme when trying to implement rounded corners otherwise it won’t work. (For some reason the compiler wasn’t suggesting after reaching, for example, ThemeOverlay.MaterialComponents.Light. , just keep writing the relative component and all will work)

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