diff --git a/images/drawable-src/ic_notify_new_mail.svg b/images/drawable-src/ic_notify_new_mail.svg new file mode 100644 index 000000000..577574a75 --- /dev/null +++ b/images/drawable-src/ic_notify_new_mail.svg @@ -0,0 +1,69 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/images/drawable-src/ic_notify_new_mail__legacy.svg b/images/drawable-src/ic_notify_new_mail__legacy.svg new file mode 100644 index 000000000..0962ffdb2 --- /dev/null +++ b/images/drawable-src/ic_notify_new_mail__legacy.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/res/drawable-hdpi-v11/ic_notify_new_mail.png b/res/drawable-hdpi-v11/ic_notify_new_mail.png new file mode 100644 index 000000000..138569d33 Binary files /dev/null and b/res/drawable-hdpi-v11/ic_notify_new_mail.png differ diff --git a/res/drawable-hdpi-v9/ic_notify_new_mail.png b/res/drawable-hdpi-v9/ic_notify_new_mail.png new file mode 100644 index 000000000..279e527c2 Binary files /dev/null and b/res/drawable-hdpi-v9/ic_notify_new_mail.png differ diff --git a/res/drawable-hdpi/stat_notify_email_generic.png b/res/drawable-hdpi/ic_notify_new_mail.png similarity index 100% rename from res/drawable-hdpi/stat_notify_email_generic.png rename to res/drawable-hdpi/ic_notify_new_mail.png diff --git a/res/drawable-ldpi-v11/ic_notify_new_mail.png b/res/drawable-ldpi-v11/ic_notify_new_mail.png new file mode 100644 index 000000000..d0ef756e6 Binary files /dev/null and b/res/drawable-ldpi-v11/ic_notify_new_mail.png differ diff --git a/res/drawable-ldpi-v9/ic_notify_new_mail.png b/res/drawable-ldpi-v9/ic_notify_new_mail.png new file mode 100644 index 000000000..1ddc6031e Binary files /dev/null and b/res/drawable-ldpi-v9/ic_notify_new_mail.png differ diff --git a/res/drawable-mdpi-v11/ic_notify_new_mail.png b/res/drawable-mdpi-v11/ic_notify_new_mail.png new file mode 100644 index 000000000..75e144e3f Binary files /dev/null and b/res/drawable-mdpi-v11/ic_notify_new_mail.png differ diff --git a/res/drawable-mdpi-v9/ic_notify_new_mail.png b/res/drawable-mdpi-v9/ic_notify_new_mail.png new file mode 100644 index 000000000..e037bf660 Binary files /dev/null and b/res/drawable-mdpi-v9/ic_notify_new_mail.png differ diff --git a/res/drawable-mdpi/stat_notify_email_generic.png b/res/drawable-mdpi/ic_notify_new_mail.png similarity index 100% rename from res/drawable-mdpi/stat_notify_email_generic.png rename to res/drawable-mdpi/ic_notify_new_mail.png diff --git a/res/drawable-xhdpi-v11/ic_notify_new_mail.png b/res/drawable-xhdpi-v11/ic_notify_new_mail.png new file mode 100644 index 000000000..b468d6624 Binary files /dev/null and b/res/drawable-xhdpi-v11/ic_notify_new_mail.png differ diff --git a/res/drawable-xhdpi-v9/ic_notify_new_mail.png b/res/drawable-xhdpi-v9/ic_notify_new_mail.png new file mode 100644 index 000000000..f7f71b95b Binary files /dev/null and b/res/drawable-xhdpi-v9/ic_notify_new_mail.png differ diff --git a/src/com/fsck/k9/controller/MessagingController.java b/src/com/fsck/k9/controller/MessagingController.java index 16301720e..88ae84191 100644 --- a/src/com/fsck/k9/controller/MessagingController.java +++ b/src/com/fsck/k9/controller/MessagingController.java @@ -2642,7 +2642,7 @@ public class MessagingController implements Runnable { R.string.notification_certificate_error_title, account.getName()); final NotificationCompat.Builder builder = new NotificationBuilder(context); - builder.setSmallIcon(R.drawable.stat_notify_email_generic); + builder.setSmallIcon(R.drawable.ic_notify_new_mail); builder.setWhen(System.currentTimeMillis()); builder.setAutoCancel(true); builder.setTicker(title); @@ -3384,7 +3384,7 @@ public class MessagingController implements Runnable { (NotificationManager) mApplication.getSystemService(Context.NOTIFICATION_SERVICE); NotificationCompat.Builder builder = new NotificationBuilder(mApplication); - builder.setSmallIcon(R.drawable.stat_notify_email_generic); + builder.setSmallIcon(R.drawable.ic_notify_new_mail); builder.setWhen(System.currentTimeMillis()); builder.setAutoCancel(true); builder.setTicker(mApplication.getString(R.string.send_failure_subject)); @@ -4804,7 +4804,7 @@ public class MessagingController implements Runnable { (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); NotificationCompat.Builder builder = new NotificationBuilder(context); - builder.setSmallIcon(R.drawable.stat_notify_email_generic); + builder.setSmallIcon(R.drawable.ic_notify_new_mail); builder.setWhen(System.currentTimeMillis()); if (!updateSilently) { builder.setTicker(summary);