summaryNotificationIconResId
Returns the small icon resource ID for the summary notification.
The small icon appears in the status bar and in the notification itself. It should be a simple, recognizable symbol that represents your app or the grouped notifications.
Icon Requirements:
- Must be a drawable resource from your app
- Should be a white icon on transparent background
- Recommended size: 24x24 dp
- Best as vector drawable for all screen densities
public int summaryNotificationIconResId() {
return R.drawable.ic_notification_stack;
}
Content copied to clipboard
public int summaryNotificationIconResId() {
return -1; // Uses same icon as individual notifications
}
Content copied to clipboard
Return
Drawable resource ID for the summary notification icon, or -1 to use the default notification icon configured for the app