Default Semitransparent square slice

Hello guys,
I just saw this semitransparent overlay or I don't know how to call it and i want to implement something similar to this. It may not be so conplex but i want to show some kind of progress bar in my app. Is there any way to accomplish this?

Thank you very much!

Sent from my S500 using xda app-developers app
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1397353672198.jpg
Views:	303
Size:	29.9 KB
ID:	2682853