I would like to set theme of progressDialog. To create it, I use this code:
progressDialog = ProgressDialog.show(this, "Please Wait", "Loading dictionary file....", true, false);
I can't just write
progressDialog = new ProgressDialog(...);
progressDialog.(do_sth_with_dialog);
progressDialog.show(...)
because the show() method is static and I get compiler warning. Is there any way to use available constants like
progressDialog.THEME_HOLO_DARK
to set the dialog theme?
I would also like to change the Dialog background and make the corners round (I don't want to change anything with the progressBar that is inside progressDialog. There is many tutorials here, but they usually describe how to create new class that extends progressDialog class.
Is there easier way to set THEME and BACKGROUND color of progressDialog?
Why I can access constants like progressDialog.THEME_HOLO_DARK if I cant use them?