Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devholic/android-clockview
:alarm_clock: Simple clock view for Android to show time information.
https://github.com/devholic/android-clockview
Last synced: 4 months ago
JSON representation
:alarm_clock: Simple clock view for Android to show time information.
- Host: GitHub
- URL: https://github.com/devholic/android-clockview
- Owner: devholic
- License: apache-2.0
- Created: 2015-01-07T09:06:09.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-07T12:42:42.000Z (about 10 years ago)
- Last Synced: 2023-02-27T15:37:31.284Z (almost 2 years ago)
- Language: Java
- Homepage:
- Size: 441 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ClockView
![SampleScreenshot](https://31.media.tumblr.com/100b0ad24fa7869af91ef1be8babce98/tumblr_inline_nht4j1SFlH1t5gb7q.png)
## How to
Download ClockView and import it to your workspace and add this as a module.
## XML Usage
>```xml
> xmlns:app="http://schemas.android.com/apk/res-auto"
> android:layout_width="96dp"
> android:layout_height="96dp"
> app:clockColor="[color]"
> app:h="[HH]"
> app:m="[mm]"/>
>```## Java Usage
>```java
> clockview.setClockColor([color]); // Set clock color
> clockview.setHour([HH]); // Set clock hour
> clockview.setMinute([mm]); // Set clock minute
>```