Giter VIP home page Giter VIP logo

workovertime's Introduction

WorkOverTime

record work overtime 记加班安卓App

依赖库: 日历控件https://github.com/square/android-times-square

功能:

  • 实时画圆环控件RoundProgressBar,继承view重写onDraw方法:外圆空心,内圆实心,圆环通过线程控制速度。 控件属性的自定义和使用:values文件夹下创建attrs文件

  • 获取当天日期,setToday()

  • 获取本周开始和结束日期

  • 圆角按钮:样式文件在drawalbe/button_shape.xml

  • ViewPager的使用:装填了3个圆环控件,每次切换都会重绘当前的圆环,注册页面切换监听器OnPageChangeListener,实现页面下标的改变

  • 底部导航栏界面的设计:由3个button构成,权重相等,利用android:drawableTop属性设置图片在按钮顶部

  • 滑动切换侧边栏菜单 头像以圆形显示

  • 自定义View显示圆形头像CustomImageView

  • 统计模块:查询日期的加班时数。查询加班表,显示加班时数不为0的记录

  • 日历模块:选择日历的日期记加班

  • 设置模块:设置基本工资,平时工资,周末工资,假日工资。刷新界面数据

workovertime's People

Contributors

kingdawin avatar

Stargazers

mczhang13 avatar BaoPo avatar geekstartup42 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

zxcy1y1sdpp

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.