开发者

analog and digital clocks not showing correct time

I have written simple xml file to show the analog, digital clocks. Now the time is 2:32 but the clocks are showing the tim开发者_如何学Goe as 09:32. Can you please help me. thank you

<AnalogClock android:layout_width="wrap_content" android:layout_height="wrap_content"/>
<DigitalClock android:layout_width="wrap_content" android:layout_height="wrap_content"/>

Now system time is 2:48 time displaying is 09:48


In the Emulator go to settings -> date and time -> Uncheck the automatic (Use network provided values) and then set the time. Now it will display the correct time

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜