title: Is it possible to dither a gradient drawable?
body: <p>I'm using the following drawable:</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:startColor="@color/content_background_gradient_start"
          android:endColor="@color/content_background_gradient_end" 
          android:angle="270"
          /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <p>The problem is that I get severe banding on hdpi devices (like the Nexus One and Droid) since the gradient goes from the top of the screen to the very bottom.</p>
  
  <p>According to <a href="http://idunnolol.com/android/drawables.html#shape_gradient" rel="noreferrer">http://idunnolol.com/android/drawables.html#shape_gradient</a> there isn't a "dither" attribute for a gradient.  Is there anything I can do to smooth the gradient?</p>
  
  <p>Note: adding dither="true" to shape doesn't seem to work.</p>