I used a bottom sheet dialog in my application I wanted it to be full screen but its contents are not showing on full screen I want those two button at the bottom of the screen
private fun setupDestinationStationDialog() {
//Initializing pickup station Dialog Binding
destinationStationDialogBinding = DialogDestinationStationBinding.inflate(layoutInflater)
destinationStationDialog.setContentView(destinationStationDialogBinding.root)
//Sheet behaviour
val bottomSheetBehavior = BottomSheetBehavior.from( destinationStationDialogBinding.root.parent as View)
bottomSheetBehavior.state = BottomSheetBehavior.STATE_EXPANDED
destinationStationDialogBinding.coordinator.minimumHeight = Resources.getSystem().displayMetrics.heightPixels
destinationStationDialog.show()
}