title: Android radial gradient
body: <p>I've got following drawable set as LinearLayout background:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
     &lt;item&gt;
        &lt;bitmap
           android:tileMode="repeat"
           android:dither="true"
           android:src="@drawable/bg"/&gt;
     &lt;/item&gt;
  
  
     &lt;item&gt;
        &lt;shape android:shape="rectangle"&gt;
           &lt;gradient
              android:startColor="#ffff0000"
              android:endColor="#ff00ff00"
              android:centerX="50%"
              android:centerY="50%"
              android:gradientRadius="50%"
              android:type="radial"/&gt;
        &lt;/shape&gt;
     &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>According to the <a href="http://developer.android.com/reference/android/graphics/drawable/GradientDrawable.html#attr_android%3agradientRadius">docs</a>, gradientRadius can be set to percentage of window/parent size. Unfortunetely... it's not working. The radius is 0. What am I doing wrong? Or what's wrong with Android?</p>
  
  <p>I need the radial gradient to fill the whole screen. What's the workaround?</p>