Adding a list using AlertDialog API

view story

http://stackoverflow.com – After reading http://developer.android.com/guide/topics/ui/dialogs.html, I would like to create an alert dialog as depicted below: Basically, I would like to have an alert dialog with a title and four options as an activity (i.e. ColorAlertDialog.class). Can someone please explain how this can be achieved. (HowTos)