iam making a custom progress dialog
my custom style code is
<style name="CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:background">#000000</item>
<item name="android:textColor">#FFFFFF</item>
</style>
and my java code is.
pDialog = new ProgressDialog(context,R.style.CustomDialog);
pDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
pDialog.setMessage("Processing");
pDialog.getWindow().setBackgroundDrawable(newColorDrawable(android.graphics.Color.TRANSPARENT));
pDialog.setCancelable(false);
pDialog.show();
now how i remove a bckground color in my progress dialog same is image link is Using custom ProgressDialog android