title: How to Custom Heads-up notification layout?
body: <p>In my project, need change heads-up notification layout.</p>
  
  <p>I have custom two <code>remoteView</code>, one for <code>Notification.contentView</code>, one for <code>Notification.bigContentView</code> and its succeed.</p>
  
  <p>When I want to use <code>Notification.Builder.addAction</code> to add click button, it will use system layout not mine.</p>
  
  <p>I changed another way, I custom layout &amp; click button in my own layout, but it only show 64dp height.</p>
  
  <pre><code>    Notification.Builder nb = new Notification.Builder(NotificationDemo.this);
  PendingIntent pi = PendingIntent.getActivity(NotificationDemo.this, 1, new Intent(NotificationDemo.this, MainActivity.class), Intent.FLAG_ACTIVITY_NEW_TASK);
  nb.setFullScreenIntent(pi, true);
  nb.setSmallIcon(R.drawable.notification_icon);
  
  //nb.addAction(R.drawable.ic_delete, getResources().getString(R.string.app_name), pi);
  RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification_demo);
  RemoteViews bigcontentView = new RemoteViews(getPackageName(), R.layout.notification_demo_bigg);
  Notification mNo = nb.build();
  mNo.bigContentView = bigcontentView;
  mNo.contentView = contentView;
  nm.notify(10000, mNo);
  </code></pre>
  
  <p>Second way:</p>
  
  <pre><code>Notification.Builder nb = new Notification.Builder(NotificationDemo.this);
  PendingIntent pi = PendingIntent.getActivity(NotificationDemo.this, 1, new Intent(NotificationDemo.this, MainActivity.class), Intent.FLAG_ACTIVITY_NEW_TASK);
  nb.setFullScreenIntent(pi, true);
  nb.setSmallIcon(R.drawable.notification_icon);
  
  nb.addAction(R.drawable.ic_delete, getResources().getString(R.string.app_name), pi);
  RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification_demo);
  RemoteViews bigcontentView = new RemoteViews(getPackageName(), R.layout.notification_demo_bigg);
  Notification mNo = nb.build();
  mNo.bigContentView = bigcontentView;
  mNo.contentView = contentView;
  nm.notify(10000, mNo);
  </code></pre>
  
  <p>Third way, I add actionbutton in layout.</p>