I am about to pick dialog type for confirmation (yes, no) when deleting an item.
I have two options to choose from:
- Bottom sheet dialog
- Normal dialog
What is the best for this scenario and why?
Context: Android app using Material Design
It all depends on the importance you want to give an action. I think it would be best to use normal dialog in that case.
This way you will get the user to focus on the task of answering yes or no.
Do not forget that offering as options yes / no is not correct, because you force the user to read the message.
Undo for deletion is by far more productive and less painful UX, consider using it. E.g. Snackbar with an Undo button. Deleting multiple items when there is a god-awful popup is some of the most cringe-worthy UX possible.
How can one argue that Bottom Sheet is better than a Dialog? If it is easier to confirm/reject the Bottom Sheet than it is to do the same with the Dialog then you could say it is better, from a usability perspective. However that still depends on the nature of the change. If deletion is final and could cause a great impact to the User, other people, or systems then perhaps it is wiser to make it harder to confirm/reject.
Confirming/rejecting Dialogs is hard because the Dialog is invasive to content and usability (modal and in the middle of content) and the buttons are placed somewhere in the middle of the screen (not the easiest places to click with a mouse nor a finger). Bottom Sheet can at least expose buttons at the bottom corners of the screen which is much easier for mouse and finger interaction.