I am trying to do a Dialog with a selector that looks exactly like this:

I’ve tried using an AlertDialog that holds a ListView, but that gives an ugly black border between the ListView and the bottom gray area. I could use a normal Dialog, but I don’t want to build the bottom gray area manually.
I know that I can subclass the AlertDialog, but then I will also need to subclass the Builder and it ends up being a lot of code for such a small detail. Is there any neat way of doing this?
Cheers,
Use the alert dialog builder, it has options for that. Short example:
See the dialogs doc, section Adding a list.