Skip to main content
adicionou 1 caractere ao conteúdo
Fonte Link
Geferson
  • 1,3mil
  • 9
  • 29

Tente utilizar dessa forma:

ProgressDialog progress = new ProgressDialog(ctxthis);
progress.setMessage("Carregando");
progress.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
progress.setIndeterminate(true);
progress.show();

Tente utilizar dessa forma:

ProgressDialog progress = new ProgressDialog(ctx);
progress.setMessage("Carregando");
progress.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
progress.setIndeterminate(true);
progress.show();

Tente utilizar dessa forma:

ProgressDialog progress = new ProgressDialog(this);
progress.setMessage("Carregando");
progress.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
progress.setIndeterminate(true);
progress.show();
Fonte Link
Geferson
  • 1,3mil
  • 9
  • 29

Tente utilizar dessa forma:

ProgressDialog progress = new ProgressDialog(ctx);
progress.setMessage("Carregando");
progress.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
progress.setIndeterminate(true);
progress.show();