Hello,
Is there an easy way to add pictures to an alertdialog list?
final CharSequence[] items = {"Foo", "Bar", "Baz"};
AlertDialog.Builder builder =
new
AlertDialog.Builder(MyChats.this);
builder.setTitle("Make your
selection");
builder.setItems(items, new
DialogInterface.OnClickListener() {
public void
onClick(DialogInterface dialog, int item) {
// Do something with
the selection
}
});
AlertDialog alert =
builder.create();
alert.show();
Thanks,
http://www.arcdroid.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en