-Extra: Added the appropriate images to drawable folder from Android SDK
source, can be used as alternative if required.
This commit is contained in:
Nikhil Peter Raj 2014-02-25 22:45:29 +05:30
parent 6dabe9bf7f
commit fc06f678c5
10 changed files with 3 additions and 2 deletions

View file

@ -61,7 +61,8 @@ public class DeleteFileDialogFragment extends DialogFragment {
AlertDialog.Builder alert = new AlertDialog.Builder(activity);
alert.setIcon(android.R.drawable.ic_dialog_alert);
alert.setIconAttribute(android.R.attr.alertDialogIcon);
alert.setTitle(R.string.warning);
alert.setMessage(this.getString(R.string.file_delete_confirmation, deleteFile));

View file

@ -100,7 +100,7 @@ public class DeleteKeyDialogFragment extends DialogFragment {
builder.setMessage(R.string.key_deletion_confirmation_multi);
}
builder.setIcon(android.R.drawable.ic_dialog_alert);
builder.setIconAttribute(android.R.attr.alertDialogIcon);
builder.setPositiveButton(R.string.btn_delete, new DialogInterface.OnClickListener() {
@Override

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,018 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB