I want to add a large icon to my notification, but when I run the app, the notification doesn't show up.
When I change to small icon, it works but icon is too small.
Below is my code, any help where it is wrong?
Bitmap rawBitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.ic_launcher);
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this)
.setLargeIcon(rawBitmap)
.setContentTitle("Alert")
.setContentText("CITRUS PUNCH Minute Maid expired");
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
nm.notify(1, mBuilder.build());