AlertDialog's items not displayed
Use setTitle
instead of setMessage
which sets message body and overrides the items list.
Why don't you go for setTitle
instead of the setMessage
? Try with setTitle("Pick a color")
.
I hope it will help you.