Lilly
12/10/2021, 1:55 PMDialog
but something more low level, simply a screen that overlays another screenmattinger
12/10/2021, 2:03 PMval (showDialog, onShowDialogChanged) = remember { mutableStateOf(false) }
if (showDialog) {
Dialog(....)
}
Lilly
12/10/2021, 3:07 PMallan.conda
12/10/2021, 8:52 PMZach Klippenstein (he/him) [MOD]
12/12/2021, 9:00 PMBox
to overlay your modal content over the other content
.
1. Use the Popup
composable
. It uses a different window, like Dialog
, but without all the styling implications of Dialog
.Popup
. I think DropdownMenu
does as well.Lilly
12/14/2021, 6:21 PMWindow
so Dialog
or Popup
would be suitable...but. I have a problem with the misleading intention (a Popup
is a Popup
, not a screen). So if I don't want to go with Popup
or Dialog
I would have to compose my own "FullScreen" component by leveraging the underlying Dialog/Popup
logic (i.e. adding a new Window), right?Zach Klippenstein (he/him) [MOD]
12/15/2021, 7:16 PMPopup
take up the whole screen if you want. If you want to wrap that in your own composable to enforce styling or api requirements, go ahead.