Circular timer on Android platform.
Switch branches/tags
Nothing to show
Clone or download
Latest commit fd15ae0 Nov 16, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper update Nov 16, 2016
images update Nov 16, 2016
library update Nov 16, 2016
sample update Nov 16, 2016
.gitignore update Nov 16, 2016
README.md update Nov 16, 2016
build.gradle update Nov 16, 2016
gradle.properties update Nov 16, 2016
gradlew Initial commit May 29, 2015
gradlew.bat update Nov 16, 2016
settings.gradle update Nov 16, 2016

README.md

CircleTimerView [No Longer Support]

Circle timer on Android platform.

System Requirement

Android v2.2+

TODO

Developed by AndroidStudio

Usage

<com.github.jiahuanyu.circletimerview.CircleTimerView
    android:id="@+id/ctv"
    android:layout_width="300dp"
    android:layout_height="300dp"
    android:layout_centerInParent="true">
</com.github.jiahuanyu.circletimerview.CircleTimerView>

See the sample

Notice

If you make the targetSdkVersion greater than or equal to 14, please add the following code in the end of the initialize method. This code is to solve the problem that no shadow in higher targetSdkVersion

setLayerType(View.LAYER_TYPE_SOFTWARE, null);

License

Copyright 2015 Jiahuan

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.