title: how to put expand icon in notification in android
body: <p>i'm trying to put expand icon in notification on my developing app. I already done notification <code>RemortView</code> collapse and expand Layout helping with <a href="http://www.brevitysoftware.com/blog/different-types-of-notification-android/" rel="nofollow noreferrer">this site</a>.Below pitcher is my current status of my notification.</p>
  
  <p><a href="https://i.stack.imgur.com/ugZkE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ugZkE.png" alt="enter image description here"></a></p>
  
  <p>My Code given below:</p>
  
  <pre><code>NotificationCompat.Builder builder = new NotificationCompat.Builder(mContext);
          builder.setContentIntent(intent);
          builder.setTicker(mContext.getResources().getString(R.string.custom_notification));
          builder.setSmallIcon(R.drawable.ic_notification_small_basket);
          builder.setAutoCancel(true);
          builder.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION));
          builder.setCustomBigContentView(expandedView);
          builder.setCustomContentView(contentView);
  
          NotificationManager notificationManager = (NotificationManager) mContext.getSystemService(NOTIFICATION_SERVICE);
          notificationManager.notify(0, builder.build());
  </code></pre>
  
  <p>Actual my need is <strong>how to put expand icon and how to get that clicking event from notification <code>RemortView</code></strong> using for expand and collapse the notification.</p>
  
  <p>Look like below pitcher.
  This pitcher is just a example for that expand icon.</p>
  
  <p><a href="https://i.stack.imgur.com/BP76n.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BP76n.jpg" alt="enter image description here"></a>
  please assist me.</p>