Dialog(
properties = DialogProperties(usePlatformDefaultWidth = false),
onDismissRequest = {viewModel.showDialog.value = false}
){
Column(modifier = Modifier.width(LocalConfiguration.current.screenWidthDp.dp)
.height(LocalConfiguration.current.screenHeightDp.dp).background(color = Color.Black.copy(alpha = 1f))) {
}
}
Running this code results in a dialog with fullscreen, but the height does not fully match the screen height.
Is there any way to make the dialog take full width and height of the screen size?
Please find the screenshot below:
