I want to show text of a notification in status bar like in this picture:
But instead I get the following:
So, as you can see, I can't show the text in status bar, only icon. My code looks like this:
Notification notification = new Notification.Builder(this) .setSmallIcon(R.drawable.icon) .setContentTitle("My app") .setTicker("Alex: hey, want to grab lunch?") .setWhen(System.currentTimeMillis()) .setContentText("Alex: hey, want to grab lunch?") .setPriority(Notification.PRIORITY_MAX) .build(); NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); notificationManager.notify(0, notification); How do I correct that?

