1
我想在通知阴影中显示图标。该图标是带有黑色文字的白色背景。该图标显示在状态栏中,但通知栏的图标变灰。目标SDK是25 The notification shade和The status bar通知阴影图标变灰
我使用的代码是:
NotificationCompat.Builder builder =
(NotificationCompat.Builder) new NotificationCompat.Builder(this)
.setContentTitle("Where?")
.setContentText(text)
.setSmallIcon(R.drawable.wimbicon);