If I open a progress dialog the current activity visually goes to background (it gets darker). I also want to use this visual feedback (style) if I am working on longer running background tasks but without using a progress dialog. Does anybody know how to do that?
Share
I think if you are doing something time consuming then you should indicate this with an indeterminate dialog (the one with a spinning wheel) along with a message explaining what you are doing. Otherwise the user will be confused about what is going on.
If you absolutely refuse to show the dialog, you could re-create the dark background by having a transparent view that covers the entire activity and then setting its background colour to a translucent black to make what is behind it appear darker.