Skip to content

Commit

Permalink
L17: Added dialog types
Browse files Browse the repository at this point in the history
AOrobator committed Apr 3, 2019
1 parent 7e93a24 commit 1922367
Showing 6 changed files with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion lesson17/Lesson17_Dialogs.md
Original file line number Diff line number Diff line change
@@ -1 +1,45 @@
# Lesson 17 Lab: Dialogs
# Lesson 17: Dialogs

A dialog is a small window that prompts the user to make a decision or enter additional information.
A dialog does not fill the screen and is normally used for modal events that require users to take
an action before they can proceed.

Dialogs disable all app functionality when they appear, and remain on screen until confirmed,
dismissed, or a required action has been taken.

Dialogs are purposefully interruptive, so they should be used sparingly.

![dialog_example]

## Dialog Types

### Alert Dialog

Alert dialogs interrupt users with urgent information, details, or actions.

![alert_dialog]

### Simple Dialog

Simple dialogs display a list of items that take immediate effect when selected.

![simple_dialog]

### Confirmation Dialog

Confirmation dialogs require users to confirm a choice before the dialog is dismissed.

![confirmation_dialog]

### Full-screen Dialog

Full-screen dialogs fill the entire screen, containing actions that require a series of tasks to
complete.

![full_screen_dialog]

[dialog_example]: img/dialog_example.png "Example Dialog"
[alert_dialog]: img/alert_dialog.png "Alert Dialog"
[simple_dialog]: img/simple_dialog.png "Simple Dialog"
[confirmation_dialog]: img/confirmation_dialog.png "Confirmation Dialog"
[full_screen_dialog]: img/full_screen_dialog.png "Full-Screen Dialog"
Binary file added lesson17/img/alert_dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lesson17/img/confirmation_dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lesson17/img/dialog_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lesson17/img/full_screen_dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lesson17/img/simple_dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1922367

Please sign in to comment.