如何设置时间在Android上模拟时钟分量?

编程入门 行业动态 更新时间:2024-10-11 05:20:15
本文介绍了如何设置时间在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上模拟时钟分量?

本文发布于:2023-11-27 14:19:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1638425.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:分量   时钟   如何设置   时间   Android

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!