Skip to content

Commit b1b8d59

Browse files
author
Kevin Ménager
committed
Update readme
1 parent 87991cc commit b1b8d59

2 files changed

Lines changed: 42 additions & 2 deletions

File tree

README.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,33 @@ You can customize the look of the `WeekView` in xml. Use the following attribute
129129
- `nowLineThickness`
130130
- `scrollDuration`
131131

132+
Add header separator
133+
134+
- `headerRowSeparator` display a row separator in header row (dimensions). Default position is at bottom
135+
- `headerRowSeparatorColor` set the color of the header row separator in header row (color).
136+
- `headerRowSeparatorColorGravity` set the position of the header row border (bottom or top). Default position is at bottom
137+
138+
Add day separator color
139+
140+
- `daySeparatorColor` set the color of the day separator (color)
141+
- `daySeparatorWidth` set the width of the day separator color (dimensions)
142+
143+
Custom event display
144+
145+
- `showBorderEvent` set if we should draw border inside an event (boolean).
146+
- `borderEventColor` set the color of the draw border inside an event (color).
147+
- `borderEventThickness` set the thickness of the draw border inside an event (dimensions).
148+
- `borderEventPosition` set the position of the draw border inside an event (bottom, top, left or right).
149+
150+
Enable/Disable zoom
151+
152+
- `enableZoom` enable or disable zoom (boolean). Default is true
153+
154+
Enable/Disable horizontal scroll (useful to show only one week
155+
156+
- `disableScrollHorizontal` enable or disable horizontal scroll (boolean). Default is false
157+
158+
132159
Interfaces
133160
----------
134161

@@ -146,17 +173,30 @@ Use the following interfaces according to your need.
146173
Sample
147174
----------
148175

149-
There is also a [sample app](https://github.com/alamkanak/Android-Week-View/tree/master/sample) to get you started.
176+
There is also a [sample app](https://github.com/kmenager/Android-Week-View/tree/master/sample) to get you started.
150177

151178
To do
152179
-------
153180

154181
* Add event touch feedback selector
155182
* Show events that expand multiple days properly
183+
* Set custom display take care of text
156184

157185
Changelog
158186
---------
159187

188+
**Version 1.3.0**
189+
190+
* Add option to enable or not zooming
191+
* Add bottom separator for header
192+
* Add border for day
193+
* Add border option for event
194+
* Add support for custom typeface for header date and time.
195+
* Add support for custom span for event text
196+
* Add option to prevent horizontal scroll
197+
* Add source code and javadoc to build gradle
198+
* Fix also scroll problem when scroll is down
199+
160200
**Version 1.2.6**
161201

162202
* Add empty view click listener

library/src/main/res/values/attrs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<attr name="showBorderEvent" format="boolean"/>
6666
<attr name="borderEventColor" format="color"/>
6767
<attr name="borderEventThickness" format="dimension"/>
68-
<attr name="borderEventPosition" format="dimension">
68+
<attr name="borderEventPosition" format="enum">
6969
<enum name="bottom" value="10"/>
7070
<enum name="top" value="20"/>
7171
<enum name="left" value="40"/>

0 commit comments

Comments
 (0)