Текст диалога с ListView:
protected void showTTDialog(final ArrayList<String> items, final int selected) {
int count = items.size();
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle("Расписания")
.setSingleChoiceItems(items.toArray(new String[count]), selected, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int item) {
ListView list = ((AlertDialog) dialog).getListView();
Toast.makeText(getApplicationContext(), item+" "+items.get(item), Toast.LENGTH_SHORT).show();
}
});
builder.create().show();
Спасибо.