title: custom progress drawable not showing sometimes
body: <p>I have a very strange problem - I defined a custom progress drawable for a progress bar and </p>
  
  <p>sometimes it shows and sometimes its not.</p>
  
  <p>I tried cleaning my project, restarting eclipse and even restart the computer.</p>
  
  <p>its still happens.</p>
  
  <p>here is the progress drawable xml:</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 android:id="@android:id/background"&gt;
  &lt;shape
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="rectangle"&gt;
  
      &lt;corners android:radius="5dp" /&gt;
      &lt;gradient
          android:startColor="#6f7754"
          android:endColor="#858762"
          android:angle="90"/&gt;
  &lt;/shape&gt;
  &lt;/item&gt;
  
  &lt;item android:id="@android:id/secondaryProgress"&gt;
  &lt;clip&gt;
      &lt;shape 
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:shape="rectangle"&gt;
  
          &lt;corners android:radius="5dp" /&gt;
          &lt;gradient
                  android:startColor="#ffba00"
                  android:endColor="#af6c03"
                  android:angle="90"/&gt;
      &lt;/shape&gt;
  &lt;/clip&gt;
  &lt;/item&gt;
  
  &lt;item android:id="@android:id/progress"&gt;
  &lt;clip&gt;
      &lt;shape 
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:shape="rectangle"&gt;
  
          &lt;corners
              android:radius="5dp" /&gt;
          &lt;gradient
              android:startColor="#ffba00"
              android:endColor="#af6c03"
              android:angle="90" /&gt;
      &lt;/shape&gt;
  &lt;/clip&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>
  
  <p>and here's the xml where I use it:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:gravity="center"
  android:layout_marginBottom="2dp"
  android:background="@drawable/quick_action_item_btn"&gt;
  
  &lt;ImageView
      android:id="@+id/icon" 
      android:layout_width="21dp" 
      android:layout_height="21dp"
      android:scaleType="centerInside"/&gt;
  
  &lt;ProgressBar 
      android:id="@+id/progress"
      android:layout_width="20dp"
      android:layout_height="4dp"
      android:layout_marginTop="2dp"
      style="@android:style/Widget.ProgressBar.Horizontal"
      android:progressDrawable="@drawable/achievement_progress_bar"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>