Skip to content

Hachimann/MaterialCalendarView

Repository files navigation

MaterialCalendarView

Download JitPack

Material Calendar View for Android. Improved Material CalendarView from Prolific Interactive.

Features

  • Highlighting the current date.
  • Disabled ripple.
  • Editable size of selectors.
  • Dark theme support.

Installation

Add the dependency

dependencies {
  implementation 'com.github.hachimann:material-calendarview:${version}'
}

Usage

Add MaterialCalendarView to your XML like any other view.

<com.github.hachimann.materialcalendarview.MaterialCalendarView
  android:id="@+id/calendarView"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  app:mcv_firstDayOfWeek="monday"
  app:mcv_circlePadding="2dp"
  app:mcv_showOtherDates="out_of_range" />

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.

License

Material Calendar View is Copyright (c) 2020 Prolific Interactive. It may be redistributed under the terms specified in the LICENSE file.

Maintainers

Material Calendar View is maintained and funded by Prolific Interactive. The names and logos are trademarks of Prolific Interactive.