0

How do you go about Dimming the background of a progressbar? I have had a look around and saw solutions like creating a custom Dialog box?

Is this really the only way to do this?

Stillie
  • 2,647
  • 6
  • 28
  • 50

1 Answers1

4

Yes, you will have to create custom dialog box for that purpose, having set the background opacity of dialog less than 100%.

This thread contains good examples for Custom Dialog : How to create a Custom Dialog box in android?

Community
  • 1
  • 1
Tafveez Mehdi
  • 456
  • 3
  • 12
  • Thank you, this sorted my problem out. I still find it a bit of a pain not being able to do something so simple... Thanks again – Stillie Feb 15 '16 at 13:08
  • @x10sion There is nothing simple in the world of programming. Tackling complex situations and problems always pays off. :) – Tafveez Mehdi Feb 15 '16 at 13:20