Fix for #266
-Extra: Added the appropriate images to drawable folder from Android SDK source, can be used as alternative if required.
This commit is contained in:
@@ -61,7 +61,8 @@ public class DeleteFileDialogFragment extends DialogFragment {
|
|||||||
|
|
||||||
AlertDialog.Builder alert = new AlertDialog.Builder(activity);
|
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.setTitle(R.string.warning);
|
||||||
alert.setMessage(this.getString(R.string.file_delete_confirmation, deleteFile));
|
alert.setMessage(this.getString(R.string.file_delete_confirmation, deleteFile));
|
||||||
|
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ public class DeleteKeyDialogFragment extends DialogFragment {
|
|||||||
builder.setMessage(R.string.key_deletion_confirmation_multi);
|
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() {
|
builder.setPositiveButton(R.string.btn_delete, new DialogInterface.OnClickListener() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
BIN
OpenPGP-Keychain/src/main/res/drawable-hdpi/Thumbs.db
Normal file
BIN
OpenPGP-Keychain/src/main/res/drawable-hdpi/Thumbs.db
Normal file
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 1018 B |
BIN
OpenPGP-Keychain/src/main/res/drawable-mdpi/Thumbs.db
Normal file
BIN
OpenPGP-Keychain/src/main/res/drawable-mdpi/Thumbs.db
Normal file
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 770 B |
BIN
OpenPGP-Keychain/src/main/res/drawable-xhdpi/Thumbs.db
Normal file
BIN
OpenPGP-Keychain/src/main/res/drawable-xhdpi/Thumbs.db
Normal file
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
OpenPGP-Keychain/src/main/res/drawable-xxhdpi/Thumbs.db
Normal file
BIN
OpenPGP-Keychain/src/main/res/drawable-xxhdpi/Thumbs.db
Normal file
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user