How to change centre point of shape's linear gradient?
<p>I have a shape defined as follows:</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" &gt;
  &lt;gradient
    android:angle="90"
    android:endColor="@color/white"
    android:startColor="@color/grey"
    android:type="linear" /&gt;
&lt;/shape&gt;
</code></pre>

<p>The gradient transitions from grey to white evenly from bottom to top, reaching the colour that is between grey and white in the middle. I would like to change the mid-point of the gradient to be closer to the bottom, so that the shape is more white than grey, if that makes sense?! Anyone know how to do this, or whether this is not possible? I have tried setting the <code>android:centerY</code> attribute to <code>0.1</code> and <code>0.9</code> but I see no visible difference.</p>
