title: Color of Primary Dark to be Gradient
body: <p>I recently wanted to make my status bar color gradient. I know how the WindowManager way works. But I decided instead to find another way to color my statusbar with gradient.</p>
  
  <p>So I did this,</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;color name="colorPrimary"&gt;#3F51B5&lt;/color&gt;
      &lt;color name="colorPrimaryDark"&gt;@drawable/gradient&lt;/color&gt;
     &lt;color name="colorAccent"&gt;#FF4081&lt;/color&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>@drawable/gradient</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt;
     &lt;gradient android:angle="135" android:startColor="#f56f2c" android:endColor="#fa9f46"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>The @drawable/gradient is the gradient color which I set up. Although IDE said that it is not the right way to do it, but it is worked. </p>
  
  <p>My question: Is it the right way to do it? Does anyone has this experience?</p>