9

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

Eno
  • 10,300
  • 18
  • 51
  • 83
  • please refer this URL - http://stackoverflow.com/questions/5025652/android-activity-indicator/13626227#13626227 – sudatt Nov 29 '12 at 13:00

2 Answers2

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
CommonsWare
  • 910,778
  • 176
  • 2,215
  • 2,253
  • 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? – Eno Feb 24 '10 at 18:29
  • 2
    I haven't used it. But, try this: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ProgressBar2.html – CommonsWare Feb 24 '10 at 19:05
2

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

Moritz
  • 9,453
  • 7
  • 45
  • 57