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 '' }

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+"-";



                .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.

Become a better Android Developer
Millions of developers are learning at MindOrks

Online Training Program

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer

Become Pro in Android by watching videos