I have developed a Timer component. Currently the time is being display as follows:

![enter image description here](https://i.stack.imgur.com/Dcu2O.png)

I want to display the time in the following manner, better to say in that specific digital format. 

![enter image description here](https://i.stack.imgur.com/mSkDr.png)

What changes should I make in the layout XML, or what should be my approach?