问题
i was trying to write an analog world clock app. i wanted to use the analog clock component
<AnalogClock android:id="@+id/MyAnalogClock" />
This shows the system time. But how do we set a different time(say, a second clock showing time for a different country) to the analog clock component
回答1:
You cannot (I checked the source code).
But as Android is open source, you are invited to add the function.
The Widget is referring to the phones timezone only.
来源:https://stackoverflow.com/questions/4291923/how-to-set-time-on-android-analog-clock-component