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
精彩评论