Android Lunar View

A Chinese lunar calendar view.

License

License

GroupId

GroupId

com.coolerfall
ArtifactId

ArtifactId

android-lunar-view
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

aar
Description

Description

Android Lunar View
A Chinese lunar calendar view.
Project URL

Project URL

https://github.com/Coolerfall/Android-LunarView
Source Code Management

Source Code Management

https://github.com/Coolerfall/Android-LunarView

Download android-lunar-view

How to add to project

<!-- https://jarcasting.com/artifacts/com.coolerfall/android-lunar-view/ -->
<dependency>
    <groupId>com.coolerfall</groupId>
    <artifactId>android-lunar-view</artifactId>
    <version>1.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.coolerfall/android-lunar-view/
implementation 'com.coolerfall:android-lunar-view:1.0.2'
// https://jarcasting.com/artifacts/com.coolerfall/android-lunar-view/
implementation ("com.coolerfall:android-lunar-view:1.0.2")
'com.coolerfall:android-lunar-view:aar:1.0.2'
<dependency org="com.coolerfall" name="android-lunar-view" rev="1.0.2">
  <artifact name="android-lunar-view" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.coolerfall', module='android-lunar-view', version='1.0.2')
)
libraryDependencies += "com.coolerfall" % "android-lunar-view" % "1.0.2"
[com.coolerfall/android-lunar-view "1.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Android-LunarView

A Chinese lunar calendar view.

Screenshot

Usage

Use in xml:

<com.coolerfall.widget.lunar.LunarView
	android:layout_width="wrap_content"
	android:layout_height="wrap_content"/>

and you can add OnDatePickListener:

lunarView.setOnDatePickListener(new LunarView.OnDatePickListener() {
	@Override public void onDatePick(LunarView view, MonthDay monthDay) {
		//do something
	}
});
LunarView
app:todayBackground The background of today.
app:checkedDayBackgroundColor The background color of checked day by user.
app:monthBackgroundColor The background color of the whole month view.
app:weekLabelBackgroundColor The background color of week label.
app:solarTextColor The text color of solar day.
app:lunarTextColor The text color of lunar day.
app:highlightColor The text color of highlight day(such as weekend and holidays).
app:uncheckableColor The text color of uncheckable day.
app:shouldPickOnMonthChange Shoul invoke callback when month changed(default is true).

You can check LunarLite to see the detail usage of LunarView.

Gradle

compile 'com.coolerfall:android-lunar-view:1.0.2'

License

Copyright (C) 2015-2017 Vincent Cheung

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.

Versions

Version
1.0.2
1.0.1
1.0.0