Ciao,
prova a guardare questo se ti può tornare utile.

http://www.pierotofy.it/pages/guide_...Bar_con_timer/