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
ProgressDialog is deprecated since API 26
still you can use this:
public void button_click(View view) { final ProgressDialog progressDialog = ProgressDialog.show(Login.this,"Please Wait","Processing...",true); }