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.

Love podcasts or audiobooks? Learn on the go with our new app.

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
Alessandro Mautone

Alessandro Mautone

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

More from Medium

Common Wisdom — Mission Statement

To be or not to be?