Here's one method you can use: * Dialog d = new Dialog(this);* * d.getWindow().setBackgroundDrawableResource(R.drawable.transparent);* * d.setContentView(new ProgressBar(this));* * d.show();*
Of course you will need a transparent PNG in your drawable folder. Thanks. On Tuesday, February 12, 2013 10:40:58 PM UTC-6, Ansh wrote: > > Hi Guys , > > I want to customize the progress dialog for my app.I want to show only > spinner spinning without the black background.I have googled a lot but > nothings seems to be working.Please tell me how can i achieve that effect. > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.