Skip to content

Commit 8e4e9e8

Browse files
author
afreakyelf
committed
Merge remote-tracking branch 'origin/master'
2 parents a881586 + dd134fc commit 8e4e9e8

4 files changed

Lines changed: 123 additions & 1 deletion

File tree

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Rajat MIttal
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 101 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,101 @@
1-
# HorizontalCalendarLibrary
1+
<h1 align="center">HorizontalCalendarLibrary</h1>
2+
<p align="center">
3+
A custom Horizontal Calendar with multiple customization options.
4+
<br>
5+
<br>
6+
<img src="https://raw.githubusercontent.com/afreakyelf/HorizontalCalendarLibrary/master/sample.png" width="420" height="800" />
7+
</p>
8+
9+
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/Apache-2.0)
10+
11+
## How to integrate into your app?
12+
Integrating the project is simple a refined all you need to do is follow the below steps
13+
14+
Step 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:
15+
16+
```java
17+
allprojects {
18+
repositories {
19+
...
20+
maven { url "https://jitpack.io" }
21+
}
22+
}
23+
```
24+
Step 2. Add the dependency
25+
```java
26+
dependencies {
27+
implementation 'com.github.afreakyelf:HorizontalCalendarLibrary:<latest_version>'
28+
}
29+
```
30+
31+
## How to use the library?
32+
Okay seems like you integrated the library in your project but **how do you use it**? Well its really easy just add the following to your xml design to show the calendar
33+
34+
```xml
35+
.....
36+
<com.example.horizontalcalendar.HorizontalCalender
37+
android:layout_width="match_parent"
38+
android:layout_height="wrap_content"
39+
android:textColor="#863A5E"
40+
app:selectedColor="#000"
41+
app:strokeColor="@color/colorAccent"
42+
app:strokeWidth="4"
43+
app:dayView="true"
44+
app:showTodayIcon="true"
45+
app:unSelectedColor="#7485C9"
46+
/>
47+
.....
48+
```
49+
50+
That's pretty much it and your all wrapped up.
51+
52+
## Attributes
53+
| Attribute | Use |
54+
| ----------| --- |
55+
| app:selectedColor | sets the Color of item you select |
56+
| app:unSelectedColor | sets the Color of item you didn't select |
57+
| app:strokeColor | Color Of the Stroke |
58+
| app:strokeWidth | sets the stroke width |
59+
| app:dayView | sets whether you want days to be shown or not |
60+
| app:showTodayIcon | sets icon for today |
61+
62+
63+
64+
## Donations
65+
**This project needs you!** If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, **feel free to donate**. Your donation is highly appreciated (and I love food, Tea and beer). Thank you!
66+
67+
**PayPal**
68+
69+
- [**Donate 5 $**](https://www.paypal.me/afreakyelf): Thank's for creating this project, here's a Tea (or some beer) for you!
70+
- [**Donate 10 $**](https://www.paypal.me/afreakyelf): Wow, I am stunned. Let me take you to the movies!
71+
- [**Donate 15 $**](https://www.paypal.me/afreakyelf): I really appreciate your work, let's grab some lunch!
72+
- [**Donate 25 $**](https://www.paypal.me/afreakyelf): That's some awesome stuff you did right there, dinner is on me!
73+
- Or you can also [**choose what you want to donate**](https://www.paypal.me/afreakyelf), all donations are awesome!
74+
75+
## Author
76+
Maintained by [Rajat Mittal](https://www.github.com/afreakyelf)
77+
78+
## License
79+
```
80+
MIT License
81+
82+
Copyright (c) 2019 Rajat MIttal
83+
84+
Permission is hereby granted, free of charge, to any person obtaining a copy
85+
of this software and associated documentation files (the "Software"), to deal
86+
in the Software without restriction, including without limitation the rights
87+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
88+
copies of the Software, and to permit persons to whom the Software is
89+
furnished to do so, subject to the following conditions:
90+
91+
The above copyright notice and this permission notice shall be included in all
92+
copies or substantial portions of the Software.
93+
94+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
95+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
96+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
97+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
98+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
99+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
100+
SOFTWARE.
101+
```

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
theme: jekyll-theme-minimal

sample.png

35.5 KB
Loading

0 commit comments

Comments
 (0)