Hi, I have a problem with a alertDialog
private AlertDialog nameDialog; nameDialog = new AlertDialog.Builder(this).create(); nameDialog.setTitle(R.string.errorName); nameDialog.setMessage(getString(R.string.errorNameText)); nameDialog.setIcon(R.drawable.ic_alert); nameDialog.setIconAttribute(R.a) nameDialog.setButton("OK", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { // TODO Auto-generated method stub nameDialog.cancel(); } }); the theme of my app is the holo light with daractionbar and now when i open a alertdialog the icon used by default by the alertdialog is white with a white background. i tried to change that by using a custom icon. // nameDialog.setIcon(R.drawable.ic_alert); but this seems to be ignored. and i don't have any idea why.. With kind regards Lars PS: sorry for my terrible english. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en