Team,
I want to change the default icon that appears on Alert Dialog box.
Here is my code:
public void onClick(View view) {
Drawable d = Drawable.createFromPath("/data/local/tmp/images");
new AlertDialog.Builder(this)
.setIcon(d)
.setTitle("Attention")
.setMessage("Some Message")
.setNeutralButton("Close", new
DialogInterface.OnClickListener() {
public void onClick(DialogInterface dlg, int sumthin) {
}
})
.show();
}
I have pushed .png image.
No errors but i don;t see the change.
Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---