Holo Calendar

A Holo Calendar library for Android. This library is based on This is +Loranz Yousif's design.

Screenshot

This Calendar library makes it simple to add a full Calendar View in your Android application. The library contains a view to show a single month(CalendarView), and multiple months(MultiCalendarView) in a ViewPager.

All you need to use this library is include it in your build, and add a few lines of code:

Layout XML file

<?xml version="1.0" encoding="utf-8"?>
<com.vdesmet.lib.calendar.MultiCalendarView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/multi_calendar"
        android:layout_width="350dp"
        android:layout_height="350dp" />

Activity/Fragment code

// Retrieve the CalendarView
MultiCalendarView multiMonth = (MultiCalendarView) findViewById(R.id.multi_calendar);

// Set the first valid day
final Calendar firstValidDay = Calendar.getInstance();
multiMonth.setFirstValidDay(firstValidDay);

// Set the last valid day
final Calendar lastValidDay = Calendar.getInstance();
lastValidDay.add(Calendar.MONTH, 3);
multiMonth.setLastValidDay(lastValidDay);

The Calendar also allows for customization:

Sample

A sample application is available on Github and available for download on Google Play.

Special Thanks