Nehel Patel wrote:Hi All,
I want to add image in Alertdialog other than setIcon... means with setIcon I am displaying one image, but with actual message I want to display one more image in dialog. How can I do this? Please help
Thanks & Regard,
Nehel
There are multiple ways of doing so.
1) you can edit the image to make both one image,
2) you can extend the dialog class,
3) you can dynamically add views to your alert dialog,
or the last and easiest option would be to create a custom dialog interface using xml, and use the android api for layout inflating.
CutsomDialog