My application needs to display the time. Rather then displaying time as 11:00 I am wondering whether it is possible to have to have static/paused/stopped analogue clock showing 11' o clock?
A:
There is an AnalogClock
widget, but it shows the current time. There is no way to pause or stop it, because there is no way to pause or stop time in the real world.
You may be able to subclass it or clone it to achieve your desired results. Or, you can draw one yourself using the Canvas
.
CommonsWare
2010-03-10 13:03:37
I have found DigitalClock on Android.git.kernel.org. Is AnalogClock open source? If so, where would that be defined?It doesn't look like it would hard to create my own version with stopped time. I would rather not go the route of drawing myself, being back end developer I have never done anything to do with graphics.
mob1lejunkie
2010-03-10 19:46:09
CommonsWare
2010-03-10 19:58:54
Thanks for that exactly what I was looking for :)
mob1lejunkie
2010-03-11 00:40:59