material-calendar

Material calendar

License

License

GroupId

GroupId

com.github.shuhart
ArtifactId

ArtifactId

material-calendar
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

aar
Description

Description

material-calendar
Material calendar
Project URL

Project URL

https://github.com/shuhart/materialcalendar

Download material-calendar

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.shuhart/material-calendar/ -->
<dependency>
    <groupId>com.github.shuhart</groupId>
    <artifactId>material-calendar</artifactId>
    <version>1.1.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.shuhart/material-calendar/
implementation 'com.github.shuhart:material-calendar:1.1.0'
// https://jarcasting.com/artifacts/com.github.shuhart/material-calendar/
implementation ("com.github.shuhart:material-calendar:1.1.0")
'com.github.shuhart:material-calendar:aar:1.1.0'
<dependency org="com.github.shuhart" name="material-calendar" rev="1.1.0">
  <artifact name="material-calendar" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.shuhart', module='material-calendar', version='1.1.0')
)
libraryDependencies += "com.github.shuhart" % "material-calendar" % "1.1.0"
[com.github.shuhart/material-calendar "1.1.0"]

Dependencies

compile (4)

Group / Artifact Type Version
androidx.legacy » legacy-support-v4 jar 1.0.0
androidx.appcompat » appcompat jar 1.2.0
androidx.annotation » annotation jar 1.1.0
org.jetbrains.kotlin : kotlin-stdlib-jdk7 jar 1.4.30

Project Modules

There are no modules declared in this project.

Material Calendar

A Material design back port of Android's CalendarView. The goal is to have a Material look and feel, rather than 100% parity with the platform's implementation. The goal of this project is to rewrite original library in kotlin and make it more extendable and flexible.

Range selection mode with BottomSheet

Usage

  1. Add mavenCentral() to repositories block in your root gradle file.
  2. Add compile 'com.shuhart:material-calendar:1.1.0' to your dependencies.
  3. Add MaterialCalendarView into your layouts or view hierarchy.
  4. Look into the sample for additional details on how to use and configure the library.

Javadoc Available Here

Example:

<com.shuhart.materialcalendarview.MaterialCalendarView
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/calendarView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:mcv_showOtherDates="all"
    app:mcv_selectionColor="#00F"
    />

Documentation

Make sure to check all the documentation available here.

Customization

One of the aims of this library is to be customizable. The many options include:

Events, Highlighting, Custom Selectors, and More!

All of this and more can be done via the decorator api. Please check out the decorator documentation.

Custom Selectors and Colors

If you provide custom drawables or colors, you'll want to make sure they respond to state. Check out the documentation for custom states.

Contributing

Would you like to contribute? Fork us and send a pull request! Be sure to checkout our issues first.

License

Versions

Version
1.1.0