Java Code Examples for android.support.v4.app.NotificationCompat.InboxStyle#setBigContentTitle()

The following examples show how to use android.support.v4.app.NotificationCompat.InboxStyle#setBigContentTitle() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: KlyphNotification.java    From Klyph with MIT License 5 votes vote down vote up
public static void setInboxStyle(Builder builder, String title, List<String> lines)
{
	builder.setNumber(lines.size());
	InboxStyle inboxStyle = new InboxStyle();

	inboxStyle.setBigContentTitle(title);

	for (String line : lines)
	{
		inboxStyle.addLine(line);
	}

	builder.setStyle(inboxStyle);
}
 
Example 2
Source File: KlyphMessengerNotification.java    From KlyphMessenger with MIT License 5 votes vote down vote up
public static void setInboxStyle(Builder builder, String title, List<String> lines)
{
	builder.setNumber(lines.size());
	InboxStyle inboxStyle = new InboxStyle();

	inboxStyle.setBigContentTitle(title);

	for (String line : lines)
	{
		inboxStyle.addLine(line);
	}

	builder.setStyle(inboxStyle);
}