A calendar picker to select a day. Can preset a selected day.
Clone or download
Latest commit 4dc848c Jun 11, 2018
Failed to load latest commit information.
app readme.md update Jun 11, 2018
gradle/wrapper add gradlew Dec 20, 2017
.gitignore Initial commit Dec 20, 2017
CalendarPicker.iml 1 Dec 4, 2017
LICENSE Initial commit Dec 20, 2017
README.md readme.md update Jun 11, 2018
build.gradle new color Dec 22, 2017
example-release.apk add gif apk readme Dec 22, 2017
ezgif.com-resize.gif resize gif Dec 22, 2017
gradle.properties 1 Dec 4, 2017
gradlew add gradlew Dec 20, 2017
gradlew.bat sync gitignore Dec 20, 2017
settings.gradle example Dec 21, 2017


Calendar Picker

Calendar Picker

Can preset a selected day. Can customize almost all text size, color, bg color, and month title.

v1.1: If no preset day, hide Selected button. Show it when a day be clicked.
v1.1.2: Remove no needed example code and intent filter which create no needed launch icon.

demo apk


Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
    maven { url 'https://jitpack.io' }

Add the dependency:

dependencies {
    compile 'com.github.maxyou:CalendarPicker:v1.1.2'

Only new a dialog:

Builder builder = new Builder(MainActivity.this, new Builder.CalendarPickerOnConfirm() {
            public void onComplete(YearMonthDay yearMonthDay) {
                MyConfig.uiToast("You pick "+yearMonthDay.year+"-"+yearMonthDay.month+"-"+yearMonthDay.day);



                .setMonthTitle(new Builder.FormatMonthTitle() {
                    public String setMonthTitle(int year, int month) {
                        return ""+year+"年"+month+"月";

                .setWeekIndex(new String[]{"一", "二", "三", "四", "五", "六", "日"})



                .setPreset(new YearMonthDay(2017, 11, 4))




under MIT License.