How to do 'busy' animation in Android?
Asked Answered
P

2

9

Doesn't seem to be covered in the books Ive looked at.

Pope answered 24/2, 2010 at 8:22 Comment(1)
please refer this URL - https://mcmap.net/q/242158/-android-activity-indicator/…Antidisestablishmentarianism
I
14

In addition to the progress dialogs described in the other answers, you can:

  • Add a ProgressBar to your activity, as shown here
  • Use the progress indicator in the title bar of your activity, as shown here
  • Use a RotateAnimation and your own custom image
Indigent answered 24/2, 2010 at 13:3 Comment(2)
I see setProgressBarVisibility() in one of your examples - how do you define the style of the progress bar? I wanted to use the spinning circular graphic but Im not sure how to set that?Pope
I haven't used it. But, try this: developer.android.com/resources/samples/ApiDemos/src/com/…Indigent
M
2

Try to use a progress dialog: http://developer.android.com/reference/android/app/ProgressDialog.html

Muscolo answered 24/2, 2010 at 8:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.