/clock-view

Simple analogue clock view library for Android

Primary LanguageJavaApache License 2.0Apache-2.0

Analog Clock View

Analog Clock View

Simple analog clock view library for Android.

Inspired by this work - UpLabs

Screenshot

Screenshot

Sample APP

Download

Google Play

Download

Download latest version with Gradle:

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.naz013:clock-view:1.0.0'
}

Usage

<com.github.naz013.clockview.ClockView
        android:id="@+id/clockView"
        android:layout_width="300dp"
        android:layout_height="wrap_content"
        app:cv_arrowsColor="#727889"
        app:cv_backgroundColor="#ffffff"
        app:cv_circlesColor="#807E8493"
        app:cv_hourLabelsColor="#727889"
        app:cv_labelTextSize="15sp"
        app:cv_shadowColor="#807E8493"
        app:cv_showCircles="true"
        app:cv_showHourArrow="true"
        app:cv_showHourLabels="true"
        app:cv_showMinuteArrow="true"
        app:cv_showSecondArrow="true"
        app:cv_showShadow="true" />

License

Copyright 2019 Nazar Suhovich

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.