Skip to content

Instantly share code, notes, and snippets.

View manojdcoder's full-sized avatar

Manojkumar Murugesan manojdcoder

  • Freelance App Developer
  • Montreal, QC
View GitHub Profile
@manojdcoder
manojdcoder / MyGcmListenerService.java
Created March 9, 2017 13:53
Android Custom Notification
RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.custom_image_notification);
contentView.setImageViewResource(R.id.custom_image_notification_left_icon, R.drawable.appicon);
contentView.setImageViewBitmap(R.id.custom_image_notification_image, R.drawable.banner);
notification.contentView = contentView;