Android second hand

I created a clock application (not a widget) in android using below in an XML file

<AnalogClock android:id="@+id/AnalogClock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:dial="@drawable/widgetdial" android:hand_hour="@drawable/widgethour" android:hand_minute="@drawable/widgetminute"/> 

But I would also like to have a second hand. Can anyone help me on how this is done.

+4
source share
1 answer

http://developer.android.com/resources/articles/timed-ui-updates.html

Check out this link. but it can cause battery effects.

+1
source

Source: https://habr.com/ru/post/1382025/


All Articles