android - Display icons along with the strings in alertdialogbox -


hi displaying alert dialog box using below code

final charsequence[] items = {"email", "phone"}; alertdialog.builder builder = new alertdialog.builder(this);

but want display icons names.for x in above code taking email , phone.emailicon comes email name. can give me suggestions.thanks in advance

it possible add custom adapter , custom view strings, @ link example:

http://mgmblog.com/2010/06/10/arrayadapter-and-alertdialog-for-single-choice-items/


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -