I\'ve got a ProgressDialog that I have positioned to the bottom of my screen as to not overlap a logo. What I would like to do is create a custom style for the
This can help you (worked for me):
Create a layout in res/layout, like this (named, for example, as progressbar.xml):
Then, put this code in your Activity or Fragment:
private ProgressDialog progressDialog;
// the first parameter (this) is your activity
// ... but if you need to use this code in a Fragment, use getActivity() instead
progressDialog = ProgressDialog.show(this,null,null);
progressDialog.setContentView(R.layout.progressbar);
So, the ProgressDialog will to show without background and border.