How to Customize List Items in an Android AlertDialog


I want to show multiple lines with different text styles for each item in a list using AlertDialog, but can't fine any example.

Does anyone know how to customize the items of an AlertDialog? Or do I really have to create an Activity with a ListView for this?

Use setAdapter() on AlertDialog.Builder to supply your own custom ListAdapter for your list.