如何改变天文台表的格式? [英] how to change format of chronometer?
问题描述
我的一个问题是不断变化的天文台表的格式的Android。 我有天文钟显示的时间在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屋!