I want to show ProgressDialog when I click on Login button and it takes time to move to another page. How can I do this?
ProgressDialog
Declare your progress dialog:
ProgressDialog progressDialog;
To start the progress dialog:
progressDialog = ProgressDialog.show(this, "","Please Wait...", true);
To dismiss the Progress Dialog :
progressDialog.dismiss();