views:

16

answers:

0

Hello, I would like to know how do I set the activity to show a Cyclic animation for the progress bar, to show work is being done in the background.

when searching I found this on the android website:

"An activity can display a progress bar to notify the user that something is happening. To display a progress bar in a screen, call Activity.requestWindowFeature(Window.FEATURE_PROGRESS). To set the value of the progress bar, call Activity.getWindow().setFeatureInt(Window.FEATURE_PROGRESS, level). Progress bar values are from 0 to 9,999, or set the value to 10,000 to make the progress bar invisible."

my question is how to make it show the Cyclic animation Thanks!