changed icons for markasread and reply in NotificationService
|
@ -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));
|
||||
|
|
BIN
src/main/res/drawable-hdpi/ic_email_open_outline_white_24dp.png
Normal file
After Width: | Height: | Size: 785 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 615 B |
BIN
src/main/res/drawable-mdpi/ic_email_open_outline_white_24dp.png
Normal file
After Width: | Height: | Size: 653 B |
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 503 B |
BIN
src/main/res/drawable-xhdpi/ic_email_open_outline_white_24dp.png
Normal file
After Width: | Height: | Size: 925 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 675 B |
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 1.2 KiB |