Posts

Showing posts with the label MaterialCalendarView

CalendarView like Google Calendar in Android

Image
I found a great library to add events to our own CalendarView. Credits :  SundeepK github : https://github.com/SundeepK/CompactCalendarView Step: 1 ====== Add Dependency to build.gradle file dependencies { compile ' com . github . sundeepk : compact - calendar - view: 1.8 . 3 ' } Step: 2 ====== Create an XML Layout like below with CompactCalendarView. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android= "http://schemas.android.com/apk/res/android" xmlns:app= "http://schemas.android.com/apk/res-auto" android:layout_width= "match_parent" android:layout_height= "wrap_content" android:orientation= "vertical" > <android.support.v7.widget.Toolbar android:id= "@+id/toolbar" android:layout_width= "match_parent" android:layout_hei...