Tôi làm điều nàythông báo Lollipop android màu trắng hình tròn rỗng
Notification.Builder notificationBuilder = new Notification.Builder( getApplicationContext()); RemoteViews mContentView = new RemoteViews( getApplicationContext().getPackageName(), R.layout.custom_notification); Uri alertSound = RingtoneManager .getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); notificationBuilder.setSound(alertSound); mContentView.setTextViewText(R.id.text, getResources() .getString(R.string.activation_code) + ": " + mUUID); notificationBuilder.setContent(mContentView); notificationBuilder.setContentTitle(getResources() .getString(R.string.activation_code)); notificationBuilder .setSmallIcon(R.drawable.ic_launcher); notificationBuilder.setAutoCancel(true); NotificationManager manager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); manager.notify(11151990, notificationBuilder.getNotification());
Rất đơn giản, hoạt động này một cách hoàn hảo đến ngày hôm nay tôi đã nhận kẹo os của tôi cho mối quan hệ 7. biểu tượng thông báo trên đầu trang đang hiển thị vòng tròn màu trắng. Lam sao tôi co thể sửa no? Khi tôi kéo từ trên xuống, thông báo trông bình thường bên trong nó.