【问题标题】:Efficient approach to update the minute and hour hands in analog clock更新模拟时钟中分针和时针的有效方法
【发布时间】:2012-03-12 07:11:32
【问题描述】:

我正在为模拟时钟创建一个小部件,我想知道除了 TimerTask 和使用 AnalogClock xml 标签之外,更新 UI 中分针和时针的有效方法是什么

【问题讨论】:

标签: android


【解决方案1】:

您可以在此处找到模拟时钟的 UI 更新的一个很好的示例:http://mindtherobot.com/blog/272/android-custom-ui-making-a-vintage-thermometer/

ps:不想留下未回答的问题,所以我在答案中转换了评论。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-31
    • 1970-01-01
    • 2022-11-04
    相关资源
    最近更新 更多