Skip to content

Commit

Permalink
Merge branch 'master' of github.com:NLMartian/SilkCal
Browse files Browse the repository at this point in the history
  • Loading branch information
NLMartian committed Jun 5, 2015
2 parents 9fd2ab5 + b8eb809 commit af5e7b8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,28 @@
# SilkCal
Android calendar view inspired by Sunrise calendar and iOS7 stock calendar.

Usage
-----

1. Add `compile 'me.nlmartian.silkcal:silkcal:0.1.0'` to your dependencies.
2. Add jcenter to your repositories list like this:

```groovy
allprojects {
repositories {
jcenter()
}
}
```

3. Add `DayPickerView` to your view hierarchy like this:

```xml
<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"/>
```

0 comments on commit af5e7b8

Please sign in to comment.