Custom Android calendarView

I am looking for a CalendarView that can be used in a dialog something like this:

  • Login via Rest web service from android using retrofit not working
  • Creating Observable without using Observable.create
  • Debugging React Native over adb tcpip
  • invalid key hash the key hash does not match any stored key hash
  • Where to store Android preference keys?
  • Android application restarts on orientation change
  • I plan to use android.widget.CalendarView but it is available from API level 11. That’s an issue considering there are still lot of users, using android 2.3.3 (but not a major one can let go those set of user).

    Which of these options should I use?

    1) libraries that are available and use them accordingly.

    2) customize the android.widget.CalendarView?

    If #2, then are there any examples for it?

    Related posts:

    How to turn on speaker for incoming call programmatically in Android L?
    NullPointerException on button's OnClickListener
    Android javax.annotation.processing Package missing
    Cannot get the new AppLinks to work on iOS or Android
    Using onBackPressed() in Android Fragments
    Performance: How to prevent requestLayout() from laying out entire hierarchy
  • ClusterManager repaint markers of Google maps v2 utils
  • get bitmap from bitmapdescriptor
  • How to remove a preference from PreferenceActivity?
  • Proguard and Android :(
  • Square Flow + Mortar tablet examples
  • Sleep a thread until an event is attended in another thread
  • One Solution collect form web for “Custom Android calendarView”

    Hi visit all given links, hope will help you









    when you will visit

    For a working implementation of this project see the sample/ folder.

    Implement the appropriate Handler callbacks:

    public class MyActivity extends Activity implements DatePickerDialogFragment.DatePickerDialogHandler {
      public void onCreate(Bundle savedInstanceState) {
        // ...
      public void onDialogDateSet(int year, int monthOfYear, int dayOfMonth) {
        // Do something with your date!

    Use one of the Builder classes to create a PickerDialog with a theme:

    DatePickerBuilder dpb = new DatePickerBuilder()

    also for an another example you can visit

    and use as follows

    To embed the caldroid fragment in your activity, use below code:

    CaldroidFragment caldroidFragment = new CaldroidFragment();
    Bundle args = new Bundle();
    Calendar cal = Calendar.getInstance();
    args.putInt(CaldroidFragment.MONTH, cal.get(Calendar.MONTH) + 1);
    args.putInt(CaldroidFragment.YEAR, cal.get(Calendar.YEAR));
    FragmentTransaction t = getSupportFragmentManager().beginTransaction();
    t.replace(, caldroidFragment);
    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.