diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-02-19 21:31:05 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-02-19 21:31:05 +0100 |
commit | 793032b15e3f47e91b3a7564fc51cf40282c3fc1 (patch) | |
tree | 82febadd10df770b75befea479a572e7e6b78b51 | |
parent | de17c541b703a2af615d4af3252e95274dd4f3e7 (diff) |
changed icons for markasread and reply in NotificationService
-rw-r--r-- | src/main/java/de/pixart/messenger/services/NotificationService.java | 7 | ||||
-rw-r--r-- | src/main/res/drawable-hdpi/ic_email_open_outline_white_24dp.png | bin | 0 -> 785 bytes | |||
-rw-r--r-- | src/main/res/drawable-hdpi/ic_reply_white_24dp.png | bin | 253 -> 615 bytes | |||
-rw-r--r-- | src/main/res/drawable-mdpi/ic_email_open_outline_white_24dp.png | bin | 0 -> 653 bytes | |||
-rw-r--r-- | src/main/res/drawable-mdpi/ic_reply_white_24dp.png | bin | 186 -> 503 bytes | |||
-rw-r--r-- | src/main/res/drawable-xhdpi/ic_email_open_outline_white_24dp.png | bin | 0 -> 925 bytes | |||
-rw-r--r-- | src/main/res/drawable-xhdpi/ic_reply_white_24dp.png | bin | 306 -> 675 bytes | |||
-rw-r--r-- | src/main/res/drawable-xxhdpi/ic_email_open_outline_white_24dp.png | bin | 0 -> 1249 bytes | |||
-rw-r--r-- | src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png | bin | 436 -> 911 bytes | |||
-rw-r--r-- | src/main/res/drawable-xxxhdpi/ic_email_open_outline_white_24dp.png | bin | 0 -> 1512 bytes | |||
-rw-r--r-- | src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png | bin | 579 -> 1196 bytes |
11 files changed, 4 insertions, 3 deletions
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 Binary files differnew file mode 100644 index 000000000..e9673da72 --- /dev/null +++ b/src/main/res/drawable-hdpi/ic_email_open_outline_white_24dp.png diff --git a/src/main/res/drawable-hdpi/ic_reply_white_24dp.png b/src/main/res/drawable-hdpi/ic_reply_white_24dp.png Binary files differindex 0424c2bd6..2b677f5f6 100644 --- a/src/main/res/drawable-hdpi/ic_reply_white_24dp.png +++ b/src/main/res/drawable-hdpi/ic_reply_white_24dp.png 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 Binary files differnew file mode 100644 index 000000000..9cfa92a0e --- /dev/null +++ b/src/main/res/drawable-mdpi/ic_email_open_outline_white_24dp.png diff --git a/src/main/res/drawable-mdpi/ic_reply_white_24dp.png b/src/main/res/drawable-mdpi/ic_reply_white_24dp.png Binary files differindex 862114b82..4beb49bcf 100644 --- a/src/main/res/drawable-mdpi/ic_reply_white_24dp.png +++ b/src/main/res/drawable-mdpi/ic_reply_white_24dp.png 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 Binary files differnew file mode 100644 index 000000000..55dada471 --- /dev/null +++ b/src/main/res/drawable-xhdpi/ic_email_open_outline_white_24dp.png diff --git a/src/main/res/drawable-xhdpi/ic_reply_white_24dp.png b/src/main/res/drawable-xhdpi/ic_reply_white_24dp.png Binary files differindex 885623e4d..bba35d7bb 100644 --- a/src/main/res/drawable-xhdpi/ic_reply_white_24dp.png +++ b/src/main/res/drawable-xhdpi/ic_reply_white_24dp.png 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 Binary files differnew file mode 100644 index 000000000..001cd2ff0 --- /dev/null +++ b/src/main/res/drawable-xxhdpi/ic_email_open_outline_white_24dp.png diff --git a/src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png b/src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png Binary files differindex de0dad204..f4dae7ad5 100644 --- a/src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png +++ b/src/main/res/drawable-xxhdpi/ic_reply_white_24dp.png 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 Binary files differnew file mode 100644 index 000000000..47b8410c6 --- /dev/null +++ b/src/main/res/drawable-xxxhdpi/ic_email_open_outline_white_24dp.png diff --git a/src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png b/src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png Binary files differindex ed85f50ab..992593ed3 100644 --- a/src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png +++ b/src/main/res/drawable-xxxhdpi/ic_reply_white_24dp.png |