val dialog = dialog as BottomSheetDialog
val bottomSheet = dialog.findViewById<View>(android.support.design.R.id.design_bottom_sheet)
val behavior = BottomSheetBehavior.from<View>(bottomSheet)
behavior.state = BottomSheetBehavior.STATE_EXPANDED
behavior.peekHeight = 0
}
}
И вызови этот метод в onViewCreated
Обсуждают сегодня