Sudipta Som
Sudipta Som

Reputation: 6577

Progress Dialog in Android

can i keep progress dialog anywhere in activity?? if possible then how can i do it???

Upvotes: 0

Views: 669

Answers (2)

pjv
pjv

Reputation: 10708

You can use

// Request progress bar
    requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
    setProgressBarIndeterminateVisibility(true);

to show an undeterminate progress spinner in the title bar.

Upvotes: 0

Al.
Al.

Reputation: 2295

A Progress Dialog will appear above your activity but you can use the ProgressBar widget to show the progress indicator somewhere in your activity.

Upvotes: 2

Related Questions