title: custom (vertical) progress bar - doesn't match parent
body: <p>I have vertical progress bar, here the xml defined in drawable folder :</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&gt;
  
              &lt;gradient
                      android:startColor="#ff9d9e9d"
                      android:centerColor="#ff5a5d5a"
                      android:centerY ="0.75"
                      android:endColor="#ff747674"
                      android:angle="180"
              /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;     
      &lt;item android:id="@android:id/secondaryProgress"&gt;
          &lt;clip android:clipOrientation="vertical" android:gravity="bottom"&gt;
              &lt;shape&gt;
  
                  &lt;gradient
                          android:startColor="#80ffd300"
                          android:centerColor="#80ffb600"
                          android:centerY="0.75"
                          android:endColor="#a0ffcb00"
                          android:angle="180"
                  /&gt;
              &lt;/shape&gt;
          &lt;/clip&gt;
      &lt;/item&gt;     
      &lt;item android:id="@android:id/progress"&gt;
          &lt;clip android:clipOrientation="vertical" android:gravity="bottom"&gt;
              &lt;shape&gt;
  
                  &lt;gradient
                          android:startColor="#ffffd300"
                          android:centerColor="#ffffb600"
                          android:centerY="0.75"
                          android:endColor="#ffffcb00"
                          android:angle="180"
                  /&gt;
              &lt;/shape&gt;
          &lt;/clip&gt;
      &lt;/item&gt;
  
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>and this I have add to styles.xml :</p>
  
  <pre><code>&lt;style name="Widget"&gt;&lt;/style&gt;
  
      &lt;style name="Widget.ProgressBar"&gt;
          &lt;item name="android:indeterminateOnly"&gt;true&lt;/item&gt;
          &lt;item name="android:indeterminateBehavior"&gt;repeat&lt;/item&gt;
          &lt;item name="android:indeterminateDuration"&gt;3500&lt;/item&gt;
          &lt;item name="android:minWidth"&gt;48dip&lt;/item&gt;
          &lt;item name="android:maxWidth"&gt;48dip&lt;/item&gt;
          &lt;item name="android:minHeight"&gt;48dip&lt;/item&gt;
          &lt;item name="android:maxHeight"&gt;480dip&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name="Widget.ProgressBar.Vertical"&gt;
          &lt;item name="android:indeterminateOnly"&gt;false&lt;/item&gt;
          &lt;item name="android:progressDrawable"&gt;@drawable/vertical_progress_bar&lt;/item&gt;
          &lt;item name="android:indeterminateDrawable"&gt;@android:drawable/progress_indeterminate_horizontal&lt;/item&gt;
          &lt;item name="android:minWidth"&gt;1dip&lt;/item&gt;
          &lt;item name="android:maxWidth"&gt;12dip&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>When I'm using it : </p>
  
  <pre><code>&lt;ProgressBar
          android:id="@+id/vertical_progressbar"
          style="@style/Widget.ProgressBar.Vertical"        
          android:layout_width="12dip"
          android:layout_height="match_parent"              
          android:layout_marginRight="5dp" 
  </code></pre>
  
  <p>the "match_parent"(the parent is item(row) in custom ListView) value has no effect and set the height as minHeigh, only explicit values can set height(Exmple:"100dip"),
  also I have tried to set the value in my <code>getView()</code> method :</p>
  
  <pre><code>itemRow.vProgressBar.setMinimumHeight(convertView.getHeight()); 
  </code></pre>
  
  <p>it dosen't help, what is wrong? please help )</p>