Android calendar view inspired by Sunrise calendar and iOS7 stock calendar.
- Add
compile 'me.nlmartian.silkcal:silkcal:0.1.0'
to your dependencies. - Add jcenter to your repositories list like this:
allprojects {
repositories {
jcenter()
}
}
- Add
DayPickerView
to your view hierarchy like this:
<me.nlmartian.silkcal.DayPickerView
xmlns:calendar="http://schemas.android.com/apk/res-auto"
android:id="@+id/calendar_view"
android:layout_width="match_parent"
android:layout_height="260dp"
android:background="@android:color/white"
calendar:drawRoundRect="false"/>