|
1 |
| -# CalenderView |
2 |
| - |
3 |
| -An elegant CalendarView on Android platform. |
4 |
| -Freely draw UI with canvas, fast、efficient and low memory. |
5 |
| -Support month view、 week view、year view、 custom week start、lunar calendar and so on. |
6 |
| -Hot plug UI customization! |
7 |
| -You can't think of the calendar can be so elegant! |
8 |
| - |
9 |
| -<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/screen_recorder.gif" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/screen_recorder_main.gif" height="650"/> |
10 |
| - |
11 |
| -<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/screen_recorder_range.gif" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/screen_recorder_multi.gif" height="650"/> |
12 |
| - |
13 |
| -### Gradle |
14 |
| -``` |
15 |
| -compile 'com.haibin:calendarview:3.6.4' |
16 |
| -``` |
17 |
| - |
18 |
| -``` |
19 |
| -<dependency> |
20 |
| - <groupId>com.haibin</groupId> |
21 |
| - <artifactId>calendarview</artifactId> |
22 |
| - <version>3.6.4</version> |
23 |
| - <type>pom</type> |
24 |
| -</dependency> |
25 |
| -``` |
26 |
| - |
27 |
| -# How to use? |
28 |
| - |
29 |
| -[**English Doc**](https://github.com/huanghaibin-dev/CalendarView/blob/master/QUESTION.md) |
30 |
| - |
31 |
| -[**中文使用文档**](https://github.com/huanghaibin-dev/CalendarView/blob/master/QUESTION_ZH.md) |
32 |
| - |
33 |
| -### proguard-rules |
34 |
| -```java |
35 |
| --keepclasseswithmembers class * { |
36 |
| - public <init>(android.content.Context); |
37 |
| -} |
38 |
| -``` |
39 |
| - |
40 |
| -### or using this proguard-rules |
41 |
| -``` java |
42 |
| --keep class your project path.MonthView { |
43 |
| - public <init>(android.content.Context); |
44 |
| -} |
45 |
| --keep class your project path.WeekBar { |
46 |
| - public <init>(android.content.Context); |
47 |
| -} |
48 |
| --keep class your project path.WeekView { |
49 |
| - public <init>(android.content.Context); |
50 |
| -} |
51 |
| --keep class your project path.YearView { |
52 |
| - public <init>(android.content.Context); |
53 |
| -} |
54 |
| -``` |
55 |
| - |
56 |
| -### Effect Preview |
57 |
| - |
58 |
| -### func |
59 |
| -<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/main_zh_func.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/main_zh_list.png" height="650"/> |
60 |
| -### YearView and Range Style |
61 |
| -<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/year_view.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/range.png" height="650"/> |
62 |
| -### Beautiful Chinese style |
63 |
| -<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/custom_expand.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/custom_shrink.png" height="650"/> |
64 |
| -### Meizu mobile phone calendar |
65 |
| -<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/meizu_expand.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/meizu_shrink.png" height="650"/> |
66 |
| -### Colorful and Full style |
67 |
| -<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/full_calendar.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/color_expand.png" height="650"/> |
68 |
| -### Progress bar style |
69 |
| -<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/progress_expand.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/progress_shrink.png" height="650"/> |
70 |
| -### Galaxy style |
71 |
| -<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/solar_expand.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/solar_shrink.png" height="650"/> |
72 |
| - |
73 |
| - |
74 |
| - |
75 |
| -## Licenses |
76 |
| -- Copyright (C) 2013 huanghaibin_dev <[email protected]> |
77 |
| - |
78 |
| -- Licensed under the Apache License, Version 2.0 (the "License"); |
79 |
| -- you may not use this file except in compliance with the License. |
80 |
| -- You may obtain a copy of the License at |
81 |
| - |
82 |
| -- http://www.apache.org/licenses/LICENSE-2.0 |
83 |
| - |
84 |
| -- Unless required by applicable law or agreed to in writing, software |
85 |
| -- distributed under the License is distributed on an "AS IS" BASIS, |
86 |
| -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
87 |
| -- See the License for the specific language governing permissions and |
88 |
| - limitations under the License. |
| 1 | +# CalenderView |
| 2 | + |
| 3 | +An elegant CalendarView on Android platform. |
| 4 | +Freely draw UI with canvas, fast、efficient and low memory. |
| 5 | +Support month view、 week view、year view、 custom week start、lunar calendar and so on. |
| 6 | +Hot plug UI customization! |
| 7 | +You can't think of the calendar can be so elegant! |
| 8 | + |
| 9 | +<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/screen_recorder.gif" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/screen_recorder_main.gif" height="650"/> |
| 10 | + |
| 11 | +<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/screen_recorder_range.gif" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/screen_recorder_multi.gif" height="650"/> |
| 12 | + |
| 13 | +### gradle |
| 14 | +``` |
| 15 | +implementation 'com.haibin:calendarview:3.6.4' |
| 16 | +``` |
| 17 | + |
| 18 | +### Androidx support since version 3.6.5 |
| 19 | +``` |
| 20 | +implementation 'com.haibin:calendarview:3.6.5' |
| 21 | +``` |
| 22 | + |
| 23 | +``` |
| 24 | +<dependency> |
| 25 | + <groupId>com.haibin</groupId> |
| 26 | + <artifactId>calendarview</artifactId> |
| 27 | + <version>3.6.4</version> |
| 28 | + <type>pom</type> |
| 29 | +</dependency> |
| 30 | +``` |
| 31 | + |
| 32 | +## How to use? |
| 33 | + |
| 34 | +[**English Doc**](https://github.com/huanghaibin-dev/CalendarView/blob/master/QUESTION.md) |
| 35 | + |
| 36 | +[**中文使用文档**](https://github.com/huanghaibin-dev/CalendarView/blob/master/QUESTION_ZH.md) |
| 37 | + |
| 38 | +### proguard-rules |
| 39 | +```java |
| 40 | +-keepclasseswithmembers class * { |
| 41 | + public <init>(android.content.Context); |
| 42 | +} |
| 43 | +``` |
| 44 | + |
| 45 | +### or using this proguard-rules |
| 46 | +``` java |
| 47 | +-keep class your project path.MonthView { |
| 48 | + public <init>(android.content.Context); |
| 49 | +} |
| 50 | +-keep class your project path.WeekBar { |
| 51 | + public <init>(android.content.Context); |
| 52 | +} |
| 53 | +-keep class your project path.WeekView { |
| 54 | + public <init>(android.content.Context); |
| 55 | +} |
| 56 | +-keep class your project path.YearView { |
| 57 | + public <init>(android.content.Context); |
| 58 | +} |
| 59 | +``` |
| 60 | + |
| 61 | +### Effect Preview |
| 62 | + |
| 63 | +### func |
| 64 | +<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/main_zh_func.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/main_zh_list.png" height="650"/> |
| 65 | +### YearView and Range Style |
| 66 | +<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/year_view.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/range.png" height="650"/> |
| 67 | +### Beautiful Chinese style |
| 68 | +<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/custom_expand.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/custom_shrink.png" height="650"/> |
| 69 | +### Meizu mobile phone calendar |
| 70 | +<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/meizu_expand.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/meizu_shrink.png" height="650"/> |
| 71 | +### Colorful and Full style |
| 72 | +<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/full_calendar.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/color_expand.png" height="650"/> |
| 73 | +### Progress bar style |
| 74 | +<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/progress_expand.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/progress_shrink.png" height="650"/> |
| 75 | +### Galaxy style |
| 76 | +<img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/solar_expand.png" height="650"/> <img src="https://github.com/huanghaibin-dev/CalendarView/blob/master/app/src/main/assets/solar_shrink.png" height="650"/> |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | +## Licenses |
| 81 | +- Copyright (C) 2013 huanghaibin_dev <[email protected]> |
| 82 | + |
| 83 | +- Licensed under the Apache License, Version 2.0 (the "License"); |
| 84 | +- you may not use this file except in compliance with the License. |
| 85 | +- You may obtain a copy of the License at |
| 86 | + |
| 87 | +- http://www.apache.org/licenses/LICENSE-2.0 |
| 88 | + |
| 89 | +- Unless required by applicable law or agreed to in writing, software |
| 90 | +- distributed under the License is distributed on an "AS IS" BASIS, |
| 91 | +- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 92 | +- See the License for the specific language governing permissions and |
| 93 | + limitations under the License. |
0 commit comments