A editable clock view for Android
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/de/markusfisch/android/library/touchclock
.gitignore
AndroidManifest.xml
README.md
ant.properties

README.md

Touch Clock for Android

Editable clock view for Android. Gives users a straight forward, traditional way of setting a time (and optionally a duration).

Minnimum SDK version 4.

Screenshot

See sample branch and directory for a sample implementation.

Features

TouchClockView has some public members for customization:

  • Show/hide duration by setting useDuration to true/false
  • Set colors for
    • face marks in markColor
    • hour hand in hourColor
    • minute hand in minuteColor
    • duration hand in stopColor

You can also subclass TouchClockView and overwrite getClockFace() to draw your own custom clock face.

License

This code is licensed under the MIT license.