title: Notification - Change notification icon color according to activity theme
body: <p>I'm trying to develop an App that will notify people about some actions...</p>
  
  <hr>
  
  <p>The problem is that i want to create a smallIcon drawable that will change its color dynamically owing to status Bar color or activity theme</p>
  
  <p><a href="https://i.stack.imgur.com/0mMAM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0mMAM.jpg" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>I've a white drawable icon with transparent background and tried this way but icon color is always white.</p>
  
  <pre><code>  NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context, "notification")
              .setSmallIcon(R.drawable.white_logo)
              .setContent(contentView)
              .setOngoing(true)
              .setContentIntent(contentIntent);
  </code></pre>