如何设置时间在Android上模拟时钟分量? [英] How to set time on android analog clock component?

查看:196
本文介绍了如何设置时间在Android上模拟时钟分量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图写一个模拟世界时钟应用程序。我想用模拟时钟部件

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

推荐答案

您不能(我查源$ C ​​$ C)。

You cannot (I checked the source code).

不过,由于Android是开源的,你被邀请加入该功能。

But as Android is open source, you are invited to add the function.

窗件是指只有手机时区。

The Widget is referring to the phones timezone only.

这篇关于如何设置时间在Android上模拟时钟分量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆