Spinning wheel while waiting

Spinning wheel while waiting

I'd like to display a spinning  wheel with a semi-transparent background while waiting for an event triggered by a timer. Is there a simple code example I can use? Thanks