fixed 'mark read' icon on android ~4 devices

This commit is contained in:
Daniel Gultsch 2018-03-04 13:51:27 +01:00
parent 78fd19195d
commit a4f4c80743
6 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ public class NotificationService {
RemoteInput remoteInput = new RemoteInput.Builder("text_reply").setLabel(UIHelper.getMessageHint(mXmppConnectionService, conversation)).build(); RemoteInput remoteInput = new RemoteInput.Builder("text_reply").setLabel(UIHelper.getMessageHint(mXmppConnectionService, conversation)).build();
PendingIntent markAsReadPendingIntent = createReadPendingIntent(conversation); PendingIntent markAsReadPendingIntent = createReadPendingIntent(conversation);
NotificationCompat.Action markReadAction = new NotificationCompat.Action.Builder( NotificationCompat.Action markReadAction = new NotificationCompat.Action.Builder(
R.drawable.ic_send_text_offline, R.drawable.ic_drafts_white_24dp,
mXmppConnectionService.getString(R.string.mark_as_read), mXmppConnectionService.getString(R.string.mark_as_read),
markAsReadPendingIntent).build(); markAsReadPendingIntent).build();
String replyLabel = mXmppConnectionService.getString(R.string.reply); String replyLabel = mXmppConnectionService.getString(R.string.reply);

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 953 B