I'm trying to create a fragment that includes the date and time for an Android application. I've gotten the date and time by using DateFormat, but I'd like to display it on a different coloured bar on the application. I was wondering what the best method would be to do so - should I just create a rectangle to place behind the text, or is there another method? Thank you!