You can use an activity as a custom dialog. Simply create the activity.
There’s no need to use any Dialog classes.
Here’s how you do it.
You can use your own layout in an Alert Dialog.
Multiple-choice list dialogs let the user select a number of items from the list.
They can also select only one item (or none).
You can use three types of lists in your Alert Dialogs: