Score
0
Watch 50 Star 206 Fork 45

黄海彬 / CalendarViewAndroidApache-2.0

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Android上一个优雅、高度自定义、性能高效的日历控件,支持标记、自定义颜色、农历等。Canvas绘制,速度快、占用内存低 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

CalenderView

An elegant CalendarView on Android platform. Freely draw UI with canvas, fast、efficient and low memory. Support month view、 week view、year view、 custom week start、lunar calendar and so on. Hot plug UI customization! You can't think of the calendar can be so elegant!

     

     

gradle

implementation 'com.haibin:calendarview:3.6.6'

Androidx support since version 3.6.5

implementation 'com.haibin:calendarview:3.6.7'
<dependency>
  <groupId>com.haibin</groupId>
  <artifactId>calendarview</artifactId>
  <version>3.6.6</version>
  <type>pom</type>
</dependency>

How to use?

English Doc

中文使用文档

proguard-rules

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

or using this proguard-rules

-keep class your project path.MonthView {
    public <init>(android.content.Context);
}
-keep class your project path.WeekBar {
    public <init>(android.content.Context);
}
-keep class your project path.WeekView {
    public <init>(android.content.Context);
}
-keep class your project path.YearView {
    public <init>(android.content.Context);
}

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.

Comments ( 33 )

Sign in for post a comment

Android
1
https://gitee.com/huanghaibin_dev/CalendarView.git
git@gitee.com:huanghaibin_dev/CalendarView.git
huanghaibin_dev
CalendarView
CalendarView
master

Help Search