Android代码-TimerView

时间:2022-08-27 09:16:19
【文件属性】:

文件名称:Android代码-TimerView

文件大小:1.74MB

文件格式:ZIP

更新时间:2022-08-27 09:16:19

Android代码

TimerView A timer which extends a View, you can use it to start a countdown if you need. Screen Shoot Usage Copy the TimerView.java into your project. Then directly use TimerView element in xml like this: Where com.ym.littleshape is your package name And in Java: timerView = (TimerView)findViewById(R.id.timer_view); And then there will be a basic TimerView in your Activity: a circle and a point in the center. Now you can use timerView.startCountDown(long millis); timerView.cancelCount


【文件预览】:
TimerView-master
----device-2016-10-15-152127.png(39KB)
----gradlew.bat(2KB)
----gradlew(5KB)
----LittleShape.iml(942B)
----gradle.properties(855B)
----app()
--------app-release.apk(1003KB)
--------proguard-rules.pro(653B)
--------hs_err_pid26533.log(2KB)
--------src()
--------app.iml(12KB)
--------.gitignore(7B)
--------build.gradle(618B)
----gradle()
--------wrapper()
----TimerViewDemo.apk(1003KB)
----.idea()
--------gradle.xml(808B)
--------runConfigurations.xml(564B)
--------misc.xml(2KB)
--------vcs.xml(180B)
--------.name(11B)
--------copyright()
--------modules.xml(480B)
--------compiler.xml(686B)
--------inspectionProfiles()
----.gitignore(91B)
----README.md(8KB)
----settings.gradle(29B)
----timerview()
--------proguard-rules.pro(653B)
--------src()
--------.gitignore(7B)
--------timerview.iml(12KB)
--------build.gradle(822B)
----build.gradle(436B)

网友评论