title: Make progress bar compatible for all versions in Android
body: <p>My problem is the <code>progressbar</code> is showing progress in <em>Gingerbread</em> and <em>Honeycomb</em> but it is not showing for <em>IceCreamSandwich</em>.<br>
  My xml code is as follows which I have set for <code>&lt;android:progressdrawable&gt;</code> in <code>progressbar</code>.</p>
  
  <pre><code> &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  &lt;item android:id="@android:id/background"&gt;
      &lt;shape&gt;
          &lt;corners android:radius="2dp" /&gt;
          &lt;gradient
              android:endColor="#FFFFFF"
              android:startColor="#FFFFFF" /&gt;
          &lt;stroke
              android:width="1dp"
              android:color="#FFFFFF" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;item android:id="@android:id/progress"&gt;
      &lt;clip&gt;
          &lt;shape&gt;
              &lt;corners android:radius="2dp" /&gt;
              &lt;gradient
                  android:endColor="#808080"
                  android:startColor="#FF0000" /&gt;
          &lt;/shape&gt;
      &lt;/clip&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p>And my minimumtarget version is 10 and maximumtargetversion is 14</p>