My status bar notification message is too long, so I want to display it on multiple lines but i don't know why its not displaying that way.
Here is my code:
String msg = "text1 text2 text3 text4 text5";
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context);
mBuilder.setContentTitle(context.getResources().getString(R.string.time_to_brush_title));
mBuilder.setContentText(msg);
mBuilder.setTicker(context.getResources().getString(R.string.time_to_brush_title));
mBuilder.setSmallIcon(R.drawable.ic_launcher);
mBuilder.setStyle(new NotificationCompat.BigTextStyle().bigText(msg));
However, This is what the notification bar contains:
text1 text2 text3 ...