android images in custom notification views inverse in dark mode (android 10.0)

Viewed 118
  1. when i use systemPic style,use system xml,it works well.
        builder.setContentTitle(StringUtil.f(title));
        builder.setContentText(StringUtil.f(desc));

        if (poster != null) {
            builder.setLargeIcon(poster);
        }
        Notification notification = builder.build();
  1. but when i use custom layout, the image in notification like a negative image: original image vs Invert image
0 Answers
Related