Skip to content

A Material design calendar inspired by the CalendarView of School Diary.

License

Notifications You must be signed in to change notification settings

applibgroup/MaterialCalendar

Repository files navigation

Build Quality Gate Status

Material Design Calendar

A Material design calendar inspired by the CalendarView of School Diary.

Source

This library has been inspired by jMavarez\MaterialCalendar.

Integration

  1. For using MaterialCalendar module in sample app, include the source code and add the below dependencies in entry/build.gradle to generate hap/support.har.
 implementation project(path: ':materialcalendar')
  1. For using MaterialCalendar module in separate application using har file, add the har file in the entry/libs folder and add the dependencies in entry/build.gradle file.
 implementation fileTree(dir: 'libs', include: ['*.har'])
  1. For using MaterialCalendar module from a remote repository in separate application, add the below dependencies in entry/build.gradle file.
implementation 'dev.applibgroup:materialcalendar:1.0.0'

Usage

  1. Add CalendarView into your layouts or view hierarchy.

Example:

    <com.jmavarez.materialcalendar.CalendarView
                ohos:height="match_content"
                ohos:width="match_parent"
                ohos:id="$+id:calendarView"
		app:mc_color="$color:colorPrimary"
	/>

Check the example app for more information.

License

Copyright (c) Josue Mavarez 2017

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.