@@ -31,14 +31,14 @@ Usage
3131 <dependency >
3232 <groupId >com.github.alamkanak</groupId >
3333 <artifactId >android-week-view</artifactId >
34- <version >1.2.3 </version >
34+ <version >1.2.4 </version >
3535 <type >aar</type >
3636 </dependency >
3737 ```
3838 * Grab via gradle
3939
4040 ```groovy
41- compile 'com.github.alamkanak:android-week-view:1.2.3 '
41+ compile 'com.github.alamkanak:android-week-view:1.2.4 '
4242 ```
43432. Add WeekView in your xml layout.
4444
@@ -117,13 +117,23 @@ You can customize the look of the `WeekView` in xml. Use the following attribute
117117- `textSize`
118118- `todayBackgroundColor`
119119- `todayHeaderTextColor`
120+ - `showDistinctPastFutureColor`
121+ - `futureBackgroundColor`
122+ - `pastBackgroundColor`
123+ - `showDistinctWeekendColor`
124+ - `futureWeekendBackgroundColor`
125+ - `pastWeekendBackgroundColor`
126+ - `showNowLine`
127+ - `nowLineColor`
128+ - `nowLineThickness`
120129
121130Interfaces
122131----------
123132
124133Use the following interfaces according to your need.
125134
126- - `mWeekView.setMonthChangeListener()` to provide events to the calendar
135+ - `mWeekView.setWeekViewLoader()` to provide events to the calendar
136+ - `mWeekView.setMonthChangeListener()` to provide events to the calendar by months
127137- `mWeekView.setOnEventClickListener()` to get a callback when an event is clicked
128138- `mWeekView.setEventLongPressListener()` to get a callback when an event is long pressed
129139- `mWeekView.setEmptyViewClickListener()` to get a callback when any empty space is clicked
@@ -145,6 +155,15 @@ To do
145155Changelog
146156---------
147157
158+ **Version 1.2.4**
159+
160+ * **NOTE:** If you are using `WeekView.MonthChangeListener`, make sure to change it into `MonthLoader.MonthChangeListener`
161+ * Add support to have loaders other than MonthViewLoader
162+ * Add pinch to zoom support
163+ * Add support for location
164+ * Add ability to have different colors for past, future, weekend days
165+ * Add support for "now" line
166+
148167**Version 1.2.3**
149168
150169* Get callbacks when scrolling horizontally
0 commit comments