How would I do a custom "loading" dialog during an AsyncTask like the one in the Bank of America app, for instance? See:

I basically don't want the popup ProgressDialog but instead one that is embedded into the layout.
How would I do a custom "loading" dialog during an AsyncTask like the one in the Bank of America app, for instance? See:

I basically don't want the popup ProgressDialog but instead one that is embedded into the layout.