Android indeterminate ProgressBar is not animating
<p>The strange situation I have</p>
<pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;LinearLayout
    xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    xmlns:tools=&quot;http://schemas.android.com/tools&quot;
    android:id=&quot;@+id/activity_main&quot;
    android:layout_width=&quot;match_parent&quot;
    android:layout_height=&quot;match_parent&quot;
    &gt;

    &lt;TextView
        android:layout_width=&quot;wrap_content&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:text=&quot;Hello World!&quot;/&gt;

    &lt;ProgressBar
        android:id=&quot;@+id/my_progressBar&quot;
        style=&quot;@style/Widget.AppCompat.ProgressBar.Horizontal&quot;
        android:layout_width=&quot;match_parent&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:indeterminate=&quot;true&quot;/&gt;
&lt;/LinearLayout&gt;
</code></pre>
<p>And the result is <a href="https://i.stack.imgur.com/zOanV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zOanV.png" alt="enter image description here" /></a></p>
<p>The ProgressBar is not animating. I'm doing something wrong?</p>