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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -