Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setProgressDrawable doesn't seem to work #6

Open
limpep opened this issue May 4, 2018 · 0 comments
Open

setProgressDrawable doesn't seem to work #6

limpep opened this issue May 4, 2018 · 0 comments

Comments

@limpep
Copy link

limpep commented May 4, 2018

When I use setDrawable, it doesn't seem to add the drawable to the dialog,

 private var  progressDialog = ProgressDialog(this)
 progressDialog?.setCancelable(false)
 progressDialog?.setMessage("Logging in....")
 progressDialog?.setProgressDrawable(getDrawable(R.drawable.ic_truck_black_18dp))
 progressDialog?.show()

Not sure if I am doing something wrong....

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant