Soldato
- Joined
- 9 Jun 2006
- Posts
- 2,642
Hi all,
I have a ListActivity which is populated with a list of views that contains a progressbar (a rotating one). I've set the indeterminate flag so that it always spins. However when the progressbar goes out of view because you have scrolled down the list, it stops spinning.
Am I forgetting to set something somewhere to ensure it is always spinning?
Here's is the progressbar definition in a layout XML file:
I have a ListActivity which is populated with a list of views that contains a progressbar (a rotating one). I've set the indeterminate flag so that it always spins. However when the progressbar goes out of view because you have scrolled down the list, it stops spinning.
Am I forgetting to set something somewhere to ensure it is always spinning?
Here's is the progressbar definition in a layout XML file:
Code:
<ProgressBar android:id="@+id/progress_bar" android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal" android:indeterminate="true"/>
Last edited: