I want to add overlay like this for example when button is clicked the screen brightness becomes low and the progress bar will be shown in the middle just like this:
You can use the Notifier.ShowProgressDialog
If you want it to look exactly like your example you would need to use an extension like:
How To Do Like This Types Progress Bar .. !?
Okay I will check it. Thank you