Code Monkey home page Code Monkey logo

timerview's Introduction

TimerView

ENGLISH README

重要的事情


由于使用了MaskFilter,辉光效果必须[关闭硬件加速](http://blog.chenming.info/blog/2012/09/18/android-hardware-accel/)!!

由于使用了MakskFilter,辉光效果必须关闭硬件加速!!

由于使用了MakskFilter,辉光效果必须关闭硬件加速!!

简介


一个倒计时的View,

可以实现最大6小时的倒计时,具体看图~

展示


控件长这样,下方的button不属于这个控件

屏幕截图



👇👇👇👇👇👇👇👇👇👇这儿有个gif图,等一会或者刷新~👇👇👇👇👇👇👇👇👇👇

gif图,加载好慢...

👆👆👆👆👆👆👆👆👆👆这儿有个gif图,等一会或者刷新~👆👆👆👆👆👆👆👆👆👆

使用

方法1:

添加以下代码到build.gradle(Project:xxxxx):

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

添加以下代码到build.gradle(Module:xxxxx):

dependencies {
       compile 'com.github.pheynix:TimerView:660400fb64'
}

方法2:

找到MyTimer.java,复制到你的项目里面,就可以使用或者修改了~

更新

  • 20150716 增加listener
  • 20150717 整合@wsk900906 fork的版本,增加计时功能,新增listener
  • 20150719 增加lib方便使用

如果对这么控件有啥问题或建议,尽情提issues或者发邮件给我[email protected]




其实我是真的忙...

一个人写了好久代码,想找群小伙伴了

深圳/广州找工作ing...

timerview's People

Watchers

James Cloos avatar AdrianHsu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.