如何改变天文台表的格式? [英] how to change format of chronometer?

查看:143
本文介绍了如何改变天文台表的格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个问题是不断变化的天文台表的格式的Andr​​oid。 我有天文钟显示的时间在00:00格式的问题,我希望它进来00:00:00 format.does有人知道答案?

One of my problem is of changing the format of chronometer in android. i have the problem that chronometer shows its time in 00:00 format and i want it to come in 00:00:00 format.does anyone knows the answer?

推荐答案

我正在上使用此格式的倒计时器,但它是为HH:MM:SS。难道这就是你寻找或者你找MM:SS:毫秒。您可以与此code,使其从0而不是向下计数。这里是链接 - <一href="http://stackoverflow.com/questions/3950481/formatting-countdown-timer-with-000000-not-working-displays-000000-until-pau">Formatting倒数计时器00:00:00无法正常工作。显示00:00:00,直到停顿了一下,然后显示剩余时间 这可能会帮助 - 显示毫秒与Android天文台

I was working on a countdown timer that used this format but it was for HH:MM:SS. Is that what youre looking for or are you looking for MM:SS:milliseconds. You could work with this code and make it count up from 0 instead of down. Here is the link - Formatting countdown timer with 00:00:00 not working. Displays 00:00:00 until paused then displays the time remaining and this might help - Show milliseconds with Android Chronometer

这篇关于如何改变天文台表的格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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