Hellow, i want to ask something. How can i change this color of circle from Progress Dialog? My project don’t have style.xml, it has themes.xml and the dark version of themes.xml so no colorAccent, even so i added colorAccent in themes.xml anyway. I also already changed my secondary and primary color that indicate the same color of this circle but it still didn’t change.
Here is how i make my progress dialog after init:
mLoginProgress.setTitle(resources.getString(R.string.loginloadingtitle));
mLoginProgress.setMessage(resources.getString(R.string.loginloadingmessage));
mLoginProgress.setCanceledOnTouchOutside(false);
mLoginProgress.show();
2
Answers
Try with
ProgressDialog(Context context, int theme)
with the theme where you addedcolorAccent
You can create your own
ProgessBar
and set it inProgressDialog
usingsetIndeterminateDrawable
.