Helper class for generating large-format notifications that include a list of (up to 5) strings. Here's how you'd set the InboxStyle on a notification:
Notification notif =newNotification.Builder(mContext).setContentTitle("5 New mails from "+ sender.toString()).setContentText(subject).setSmallIcon(R.drawable.new_mail).setLargeIcon(aBitmap).setStyle(newNotification.InboxStyle().addLine(str1).addLine(str2).setContentTitle("").setSummaryText("+3 more")).build();