title: Change ProgressBar.Horizontal indeterminate Behaviour
body: <p>I try to achieve a horizontal indeterminate ProgressBar, which will reverse its animation on end. To clarify, I want the progress bar to animate from 0 to 100, and afterwards back from 100 to 0.
  Here's <a href="https://www.youtube.com/watch?v=y75JWjV8cIQ" rel="noreferrer">a video of the standard animation</a>, which I want to reverse on end. </p>
  
  <p>According to <a href="https://developer.android.com/reference/android/widget/ProgressBar.html#attr_android:indeterminateBehavior" rel="noreferrer" title="documentation of ProgressBar">documentation of ProgressBar</a> this should be possible with xml, but i cannot achieve this. You can either set <strong>repeat</strong> (standard?) or <strong>cycle</strong> (this is what I want)</p>
  
  <p>Here's my implementation: </p>
  
  <pre><code>&lt;ProgressBar
      android:id="@+id/progressBar"
      style="?android:attr/progressBarStyleHorizontal"
      android:layout_width="fill_parent"
      android:layout_height="8dip"
      android:indeterminate="true"
      android:indeterminateOnly="true"      //tried "false" too
      android:indeterminateBehavior="cycle" // type "reverse" is the one from linked video?
      android:max="100" /&gt;
  </code></pre>
  
  <p>Tried with <code>max-value</code>, and different <code>style-parents</code></p>
  
  <p>However, I found the value <code>android:indeterminateDuration="[value]"</code> and set one to 1second, the other to 10seconds. In the end, both progressloaders had the same length, which leaves me with the thought, that the styles might be overwritten somewhere?!</p>
  
  <p>Does anyone know how to fix this? </p>
  
  <p><strong>Bounty Update:</strong> Question solved, for a working example where indeterminateBehaviour is working</p>