# DigitalTimer **Repository Path**: mirrors_crazycodeboy/DigitalTimer ## Basic Information - **Project Name**: DigitalTimer - **Description**: 自定义数字时钟 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DigitalTimer简介 # - 在样式上DigitalTimer支持自定义文字背景,大小,颜色的自定义。 - 在功能上DigitalTimer支持启动计时,计时暂停等功能。 关于DigitalTimer的更多介绍,[请点击这里](http://blog.csdn.net/fengyuzhengfan/article/details/44654045) ## 运行效果图 ## ![运行效果图](https://github.com/crazycodeboy/DigitalTimer/blob/master/raw/%E6%95%B0%E5%AD%97%E8%AE%A1%E6%97%B6%E5%99%A8.gif?raw=true) ## XML Attributes ##
Attribute Related Related MethodDescription
app:textColor setBaseTime(long baseTime)设置基准时间
app:textBgRessetTextBgRes(int textBgRes)设置文字背景
app:textSizeetTextSize(float textSize)设置文字大小
## 使用方法 ## 1. ```java public void setBaseTime(long baseTime)```设置基准时间 2. ```java public void start()```开始计时。 3. ```java public void stop()```停止计时。 4. 其它使用细节可以参照实例。