How to fix grey icon in the notification curtain?

When creating the notification icon in the status bar is displayed normally.
Screen 1
5cced9c5c0a09791502200.jpeg

But if you look in the area, it is colored in gray.
Screen 2
5cced9d1960ec397359101.jpeg
The code that generates the notification.
private void createNoteNotification(int noteId) {
 AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
 Intent intent = new Intent(this, AlarmReceiver.class);
 intent.putExtra("id", noteId);
 intent.putExtra("dateTime", notificationDateTime);
 intent.putExtra("title", titleField.getText().toString());
 intent.putExtra("text", noteTextField.getText().toString());
 PendingIntent alarmIntent = PendingIntent.getBroadcast(this, noteId, intent, 0);
 alarmManager.setExact(AlarmManager.RTC, notificationDateTime, alarmIntent);
}

public static class AlarmReceiver extends BroadcastReceiver {
 public AlarmReceiver() {
}
@Override
 public void onReceive(Context Context, Intent intent) {
 int id = intent.getIntExtra("id", 0);
 long dateTime = intent.getLongExtra("dateTime", 0);
 String title = intent.getStringExtra("title");
 String text = intent.getStringExtra("text");

 Intent deleteIntent = new Intent(context, DeleteNoteService.class);
 deleteIntent.putExtra("id", id);
deleteIntent.setAction(DeleteNoteService.ACTION_DELETE_NOTE);
 DeletePendingIntent PendingIntent = PendingIntent.getService(context, id, deleteIntent, 0);

 NotificationCompat.Builder builder = new NotificationCompat.Builder(context, context.getString(R. string.notification_channel_id))
.setSmallIcon(R. mipmap.ic_launcher)
.setContentTitle(title)
.setContentText(text)
 .setStyle(new NotificationCompat.BigTextStyle().bigText(text))
.setWhen(dateTime)
 .addAction(R. drawable.ic_delete_white_24dp, context.getString(R. string.delete) deletePendingIntent);

 ((NotificationManager) context.getSystemService(NOTIFICATION_SERVICE)).notify(id, builder.build());
}
}
March 20th 20 at 11:52
1 answer
March 20th 20 at 11:54
Solution
The issue has been resolved creating the other icons via the Asset Editor.

Find more questions by tags JavaAndroid