-1

In my android app, I want to show a spinner in my activity when a user clicks login button after entering the details.The spinner should appear only till the login process is validated in the background. After it is done, then the spinner should disappear and the user should be taken to the desired activity.

Apurva
  • 7,871
  • 7
  • 40
  • 59
bane19
  • 384
  • 2
  • 15

1 Answers1

0

I think you might have trouble finding this because in Android the 'Spinner' name is already taken for another control. What you are looking for is an Activity Circle in the form of a ProgressBar. Maybe these SO questions will be of help to you:

Show activity circle before loading webview - Android

how to show progress bar(circle) in an activity having a listview before loading the listview with data

Community
  • 1
  • 1
naartjie
  • 1,505
  • 1
  • 9
  • 18