In the XML there, instead of creating a Label object, create a
StatusBar object. You'll want to also give it a texture.
Then register for the XP events and
change the value of the statusbar in the OnEvent handler.
I hope that's enough to get you started!
Try it out and come back if you have more questions.