title: Android notification show full title and text
body: <p>I am trying to create a simple notification. With this code, the notification appears as an icon in the notification area, and when I open up the notification drawer it is there...</p>
  
  <pre><code>NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this);
          mBuilder.setSmallIcon(R.drawable.midday);
          mBuilder.setContentTitle("Midday");
          mBuilder.setContentText("Now it is midday");
          NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
          mNotificationManager.notify(NOTIFICATION_ID, mBuilder.build());
  </code></pre>
  
  <p>I want this notification content to actually show on the top of the screen, not just that the little icon appear on the top bar.</p>
  
  <p>Like this,  <a href="https://i.stack.imgur.com/uHNsa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uHNsa.jpg" alt="enter image description here"></a></p>
  
  <p>I tried searching for this and found that...</p>
  
  <pre><code>    mBuilder.setPriority(NotificationCompat.PRIORITY_HIGH);
  </code></pre>
  
  <p>should help. But it didn't show the notification, only the little icon appears.</p>
  
  <p>If you can help, that would be great.</p>