-
-
Notifications
You must be signed in to change notification settings - Fork 17
Fullscreen dialogs
The primary use case for fullscreen dialogs are dialogs with a lot of content, or those that require keyboard input. In these cases, a basic dialog can quickly become confusing. This is especially true for Material 3 themes which have a lot of blank space around the dialogs. Fullscreen dialogs are described in the Material3 Design Guide.
A basic dialog can be turned into a fullscreen dialog by adding a single line:
API Reference
SimpleFormDialog.buildLogin("user", "password")
.fullscreen() // <-- add this line
.msg("Please login to continue")
.show(this, "login_dialog_tag");
Basic dialog | Fullscreen dialog |
---|---|
Javadoc API
Screenshot gallery
Styling dialogs with themes
Fullscreen dialogs
SimpleDialog
CustomViewDialog
CustomListDialog
SimpleCheckDialog
SimpleColorDialog
SimpleColorWheelDialog
SimpleDateDialog
SimpleEMailDialog
SimpleFormDialog
SimpleImageDialog
SimpleInputDialog
SimpleListDialog
SimplePinDialog
SimpleProgressDialog
SimpleTimeDialog