an android open source timer

Overview

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...

You might also like...
An calender widget for your Android home screen.
An calender widget for your Android home screen.

Todo Agenda - Calendar and Task widgets for Android Todo Agenda is home screen widgets for your Android device. Each widget has its own settings and d

Android time range picker

TimeRangePicker TimeRangePicker is a library which can be used to select a time range. WARNING Requires android-support-v4 Description This library pr

Android calendar view inspired by Sunrise calendar and iOS7 stock calendar
Android calendar view inspired by Sunrise calendar and iOS7 stock calendar

SilkCal Android calendar view inspired by Sunrise calendar and iOS7 stock calendar. Usage Add compile 'me.nlmartian.silkcal:library:0.1.1' to your dep

An alternative DatePicker for Android

Copyright (C) 2011 Daniel Berndt - Codeus Ltd - DateSlider 1.1 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

FlipTimerView library for Android
FlipTimerView library for Android

FlipTimerView Preview FlipTimerView library for Android Getting started Add it in your root build.gradle at the end of repositories: allprojects { re

Easy-to-use animated clock icon for Android
Easy-to-use animated clock icon for Android

Timecon Easy-to-use animated clock icon written in Kotlin Including in your project Add to your root build.gradle: allprojects { repositories {

[NO LONGER MAINTAINED] Android library for better Picker DialogFragments
[NO LONGER MAINTAINED] Android library for better Picker DialogFragments

/!\ This Project is no longer maintained /!\ DialogFragments modeled after the AOSP Clock and Calendar apps to improve UX for picking time, date, numb

A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.
A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.

SublimePicker A customizable view that provisions picking of a date, time & recurrence option, all from a single user-interface. You can also view 'Su

A lightweight monthly calendar view for Android, fully written in Kotlin. Designed to meet the minimum demands for typical calendars.
A lightweight monthly calendar view for Android, fully written in Kotlin. Designed to meet the minimum demands for typical calendars.

Light Calendar View A lightweight monthly calendar view for Android, fully written in Kotlin. Designed to meet the minimum demands for typical calenda

Comments
  • regarding disabling hardware acceleration

    regarding disabling hardware acceleration

    I've heard there is a way to opt out of hardware acceleration at individual view level by forcing the software layer. I was wondering if that is possible for this project.

    Cheers

    opened by rajasharan 2
  • Swifty modify 16/7/2015

    Swifty modify 16/7/2015

    add hour, second, minute change listener. add two models: Timer & StopWatch. add set default time API: setStartTime(final int h, final int m, final int s);

    opened by wsk900906 2
  • MyTimer.java

    MyTimer.java

    You shouldn't initialize code in onDraw even if there is a flag, just initialize it in the constructor. Try not to allocate too many objects in onDraw

    opened by ZkHaider 0
Owner
iamnull
iamnull
Android interval timer app using compose + compose navigation, dagger hilt, room, kotlin coroutines + flow and mvvm design pattern.

What's InTime? ⏳ InTime is an interval timer application using android jetpack components and a long running service. The purpose of this project is t

P. 46 Oct 10, 2022
Android Week View is an android library to display calendars (week view or day view) within the app. It supports custom styling.

Android Week View Android Week View is an android library to display calendars (week view or day view) within the app. It supports custom styling. Fea

Raquib-ul Alam (Kanak) 3.4k Jan 3, 2023
A Material design back port of Android's CalendarView

Material Calendar View A Material design back port of Android's CalendarView. The goal is to have a Material look and feel, rather than 100% parity wi

Prolific Interactive 5.8k Jan 5, 2023
Standalone Android widget for picking a single date from a calendar view.

TimesSquare for Android Standalone Android widget for picking a single date from a calendar view. Usage Include CalendarPickerView in your layout XML.

Square 4.4k Dec 20, 2022
Pick a date or time on Android in style

Material DateTime Picker - Select a time/date in style Material DateTime Picker tries to offer you the date and time pickers as shown in the Material

null 4.7k Jan 4, 2023
[NO LONGER MAINTAINED] Android library for better Picker DialogFragments

/!\ This Project is no longer maintained /!\ DialogFragments modeled after the AOSP Clock and Calendar apps to improve UX for picking time, date, numb

Code-Troopers 2.7k Dec 29, 2022
A better calendar for Android

Caldroid Caldroid is a fragment that display calendar with dates in a month. Caldroid can be used as embedded fragment, or as dialog fragment. User ca

Roomorama 1.4k Jan 5, 2023
An android library which provides a compact calendar view much like the one used in google calenders.

CompactCalendarView CompactCalendarView is a simple calendar view which provides scrolling between months. It's based on Java's Date and Calendar clas

SundeepK 1.5k Dec 9, 2022
Wheel-like spinner widget for Android

Update Dec 2016 Library is discontinued There's still a lot of wheel libraries out there. Update Oct 2014 I am thinking of rewriting this control. Upd

Dimitri Fedorov 641 Jan 2, 2023
Android calendar view (like card)

android-calendar-card (Google Play Demo) Android calendar view (like card) Simple and easy to modify Author: Michał Szwarc #CalendarCardPager License

Michał Szwarc 473 Nov 10, 2022