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);