From 793032b15e3f47e91b3a7564fc51cf40282c3fc1 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Mon, 19 Feb 2018 21:31:05 +0100 Subject: changed icons for markasread and reply in NotificationService --- .../pixart/messenger/services/NotificationService.java | 7 ++++--- .../drawable-hdpi/ic_email_open_outline_white_24dp.png | Bin 0 -> 785 bytes src/main/res/drawable-hdpi/ic_reply_white_24dp.png | Bin 253 -> 615 bytes .../drawable-mdpi/ic_email_open_outline_white_24dp.png | Bin 0 -> 653 bytes src/main/res/drawable-mdpi/ic_reply_white_24dp.png | Bin 186 -> 503 bytes .../ic_email_open_outline_white_24dp.png | Bin 0 -> 925 bytes src/main/res/drawable-xhdpi/ic_reply_white_24dp.png | Bin 306 -> 675 bytes .../ic_email_open_outline_white_24dp.png | Bin 0 -> 1249 bytes src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png | Bin 436 -> 911 bytes .../ic_email_open_outline_white_24dp.png | Bin 0 -> 1512 bytes src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png | Bin 579 -> 1196 bytes 11 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 src/main/res/drawable-hdpi/ic_email_open_outline_white_24dp.png create mode 100644 src/main/res/drawable-mdpi/ic_email_open_outline_white_24dp.png create mode 100644 src/main/res/drawable-xhdpi/ic_email_open_outline_white_24dp.png create mode 100644 src/main/res/drawable-xxhdpi/ic_email_open_outline_white_24dp.png create mode 100644 src/main/res/drawable-xxxhdpi/ic_email_open_outline_white_24dp.png (limited to 'src/main') diff --git a/src/main/java/de/pixart/messenger/services/NotificationService.java b/src/main/java/de/pixart/messenger/services/NotificationService.java index 4b46e9bd5..0544380be 100644 --- a/src/main/java/de/pixart/messenger/services/NotificationService.java +++ b/src/main/java/de/pixart/messenger/services/NotificationService.java @@ -406,15 +406,16 @@ public class NotificationService { RemoteInput remoteInput = new RemoteInput.Builder("text_reply").setLabel(UIHelper.getMessageHint(mXmppConnectionService, conversation)).build(); PendingIntent markAsReadPendingIntent = createReadPendingIntent(conversation); NotificationCompat.Action markReadAction = new NotificationCompat.Action.Builder( - R.drawable.ic_send_text_offline, + R.drawable.ic_email_open_outline_white_24dp, mXmppConnectionService.getString(R.string.mark_as_read), markAsReadPendingIntent).build(); String replyLabel = mXmppConnectionService.getString(R.string.reply); NotificationCompat.Action replyAction = new NotificationCompat.Action.Builder( - R.drawable.ic_send_text_offline, + R.drawable.ic_reply_white_24dp, replyLabel, createReplyIntent(conversation, false)).addRemoteInput(remoteInput).build(); - NotificationCompat.Action wearReplyAction = new NotificationCompat.Action.Builder(R.drawable.ic_wear_reply, + NotificationCompat.Action wearReplyAction = new NotificationCompat.Action.Builder( + R.drawable.ic_wear_reply, replyLabel, createReplyIntent(conversation, true)).addRemoteInput(remoteInput).build(); mBuilder.extend(new NotificationCompat.WearableExtender().addAction(wearReplyAction)); diff --git a/src/main/res/drawable-hdpi/ic_email_open_outline_white_24dp.png b/src/main/res/drawable-hdpi/ic_email_open_outline_white_24dp.png new file mode 100644 index 000000000..e9673da72 Binary files /dev/null and b/src/main/res/drawable-hdpi/ic_email_open_outline_white_24dp.png differ diff --git a/src/main/res/drawable-hdpi/ic_reply_white_24dp.png b/src/main/res/drawable-hdpi/ic_reply_white_24dp.png index 0424c2bd6..2b677f5f6 100644 Binary files a/src/main/res/drawable-hdpi/ic_reply_white_24dp.png and b/src/main/res/drawable-hdpi/ic_reply_white_24dp.png differ diff --git a/src/main/res/drawable-mdpi/ic_email_open_outline_white_24dp.png b/src/main/res/drawable-mdpi/ic_email_open_outline_white_24dp.png new file mode 100644 index 000000000..9cfa92a0e Binary files /dev/null and b/src/main/res/drawable-mdpi/ic_email_open_outline_white_24dp.png differ diff --git a/src/main/res/drawable-mdpi/ic_reply_white_24dp.png b/src/main/res/drawable-mdpi/ic_reply_white_24dp.png index 862114b82..4beb49bcf 100644 Binary files a/src/main/res/drawable-mdpi/ic_reply_white_24dp.png and b/src/main/res/drawable-mdpi/ic_reply_white_24dp.png differ diff --git a/src/main/res/drawable-xhdpi/ic_email_open_outline_white_24dp.png b/src/main/res/drawable-xhdpi/ic_email_open_outline_white_24dp.png new file mode 100644 index 000000000..55dada471 Binary files /dev/null and b/src/main/res/drawable-xhdpi/ic_email_open_outline_white_24dp.png differ diff --git a/src/main/res/drawable-xhdpi/ic_reply_white_24dp.png b/src/main/res/drawable-xhdpi/ic_reply_white_24dp.png index 885623e4d..bba35d7bb 100644 Binary files a/src/main/res/drawable-xhdpi/ic_reply_white_24dp.png and b/src/main/res/drawable-xhdpi/ic_reply_white_24dp.png differ diff --git a/src/main/res/drawable-xxhdpi/ic_email_open_outline_white_24dp.png b/src/main/res/drawable-xxhdpi/ic_email_open_outline_white_24dp.png new file mode 100644 index 000000000..001cd2ff0 Binary files /dev/null and b/src/main/res/drawable-xxhdpi/ic_email_open_outline_white_24dp.png differ diff --git a/src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png b/src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png index de0dad204..f4dae7ad5 100644 Binary files a/src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png and b/src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png differ diff --git a/src/main/res/drawable-xxxhdpi/ic_email_open_outline_white_24dp.png b/src/main/res/drawable-xxxhdpi/ic_email_open_outline_white_24dp.png new file mode 100644 index 000000000..47b8410c6 Binary files /dev/null and b/src/main/res/drawable-xxxhdpi/ic_email_open_outline_white_24dp.png differ diff --git a/src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png b/src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png index ed85f50ab..992593ed3 100644 Binary files a/src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png and b/src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png differ -- cgit v1.2.3