I'm new to Android..
In my app I'm using a progress dialog. I want to set background image for progress dialog. How do I implement this?
protected void onPreExecute() {
super.onPreExecute();
pDialog = new ProgressDialog(FrontActivity.this);
pDialog.setMessage("Loading Grades. Please wait...");
pDialog.setIndeterminate(false);
pDialog.setCancelable(false);
pDialog.show();
}
How can I change the background of Android alert dialogs?
I think this same way would work on progressdialog aswell.
This is my layout for custom progress dialog :
And this is my custom Dialog class
}
you can use it in any Activity by passing the title and message
Hope this helps you :)
You can use your custom layout for progress
Try this:
This progressDialog with backgroud i hope this will be help to you
Change background of ProgressDialog