1 min readFeb 20, 2020
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)}