项目作者: huanghaibin-dev

项目描述 :
Android上一个优雅、万能自定义UI、支持周视图、自定义周起始、性能高效的日历控件,支持热插拔实现的UI定制!支持标记、自定义颜色、农历、自定义月视图各种显示模式等。Canvas绘制,速度快、占用内存低,你真的想不到日历居然还可以如此优雅!An elegant, highly customized and high-performance Calendar Widget on Android.
高级语言: Java
项目地址: git://github.com/huanghaibin-dev/CalendarView.git


CalenderView

RecyclerView? ListView or ViewGroup? No, it’s Canvas! Ultra performance and free customization interface! Fast rendering and extremely low memory.

Download CalendarViewDemo.apk

温馨提醒 Warm tips

Github代码全部开源无限制使用,免费开源最终版本为3.7.1,垂直、水平切换日历、自定义动画高仿iOS日历等源码不再开源。如需全部源码和使用支持,请微信联系,源码200元,无限制使用。

The final version of the free and open source part is 3.7.1, the vertical and horizontal switching calendar liked iOS calendar are no longer open source.

AndroidStudio v3.5+

support version if using support package

  1. implementation 'com.haibin:calendarview:3.6.8'

Androidx version if using Androidx

  1. implementation 'com.haibin:calendarview:3.7.1'
  1. <dependency>
  2. <groupId>com.haibin</groupId>
  3. <artifactId>calendarview</artifactId>
  4. <version>3.7.1</version>
  5. <type>pom</type>
  6. </dependency>

How to use?

English Doc

中文使用文档

proguard-rules

  1. -keepclasseswithmembers class * {
  2. public <init>(android.content.Context);
  3. }

or using this proguard-rules

  1. -keep class your project path.MonthView {
  2. public <init>(android.content.Context);
  3. }
  4. -keep class your project path.WeekBar {
  5. public <init>(android.content.Context);
  6. }
  7. -keep class your project path.WeekView {
  8. public <init>(android.content.Context);
  9. }
  10. -keep class your project path.YearView {
  11. public <init>(android.content.Context);
  12. }

Effect Preview

func

YearView and Range Style

Beautiful Chinese style

Meizu mobile phone calendar

Colorful and Full style

Progress bar style

Galaxy style

Licenses

  • Copyright (C) 2013 huanghaibin_dev huanghaibin_dev@163.com

  • Licensed under the Apache License, Version 2.0 (the “License”);

  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at

  • http://www.apache.org/licenses/LICENSE-2.0

  • Unless required by applicable law or agreed to in writing, software

  • distributed under the License is distributed on an “AS IS” BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
    limitations under the License.