I have imported the libraries, there are no errors or warnings but I can't get it working.
This is my ProgressDialog code:
pDialog = new ProgressDialog(MyActivity.this);
pDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
pDialog.setMessage("Message");
pDialog.setCancelable(false);
pDialog.show();
What I've tried:
- I tried to change my App theme in the Manifest to:
@android:style/Theme.Holo.Light
and didn't work - I also tried to create the ProgressDialog instance like this:
new ProgressDialog(Activity.this, R.drawable.dialog_full_holo_light);
- I'm extending
org.holoeverywhere.app.Activity;
and importingorg.holoeverywhere.app.ProgressDialog;
I don't know what I'm missing or why it isn't working. Can you please help me?