मैं इसएंड्रॉयड लॉलीपॉप अधिसूचना सफेद रिक्त मंडली
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());
बहुत ही सरल किया, इस आज तक मैं गठजोड़ 7. शीर्ष ओर सूचना आइकन सफेद सर्कल दिखाया जा रहा है के लिए मेरे लॉलीपॉप ओएस मिला पूरी तरह से काम करता है। मैं कैसे इसे ठीक कर सकता हूं? जब मैं शीर्ष से खींचता हूं, अधिसूचना इसके अंदर सामान्य दिखती है।