title: How to create Gradient overlay above ActionBar
body: <p>I want to create a <strong>customised action ba</strong>r. Which will be combining the <strong>app theme</strong> colour with the <strong>gradient overlay</strong> to get a new gradient. I have pasted my gradient file and the background colour codes. Can anyone tell me how to do this?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="rectangle"
      android:useLevel="false" &gt;
  
      &lt;gradient
          android:angle="0"
          android:startColor="@color/gradient_start_colour"
          android:endColor="@color/gradient_end_colour"
          android:type="linear" /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <p>And theme colour for app is <code>#0097a7</code> . Can anyone tell me if this is possible and if yes, how to do it?</p>