You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some fixes for new events placement (and other things) (#78)
* Adds support for auto-picking event textcolor based on background color
* Xml support for auto textcolor
* Fixes#29 where adding an event at the end of the day removes all events
* Text color picking interface + example
New event start time adjusted
* Only adjusts the selected position when adding new events
* Only adjusts the selected position when adding new events
* Cloning selected time to prevent changing it in callback
* Adds support for auto-picking event textcolor based on background color
* Xml support for auto textcolor
* Text color picking interface + example
New event start time adjusted
* Fix to prevent losing events when adding new event
* Only adjusts the selected position when adding new events
* Only adjusts the selected position when adding new events
* Cloning selected time to prevent changing it in callback
* Import fix
* Fix for min- and maxTime when adding events
* Fix some issues with NewEvent placement
* remove unused attribute
* reformatting
* update documentation
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,7 @@ You can customize the look of the `WeekView` in xml. Use the following attribute
108
108
- `columnGap`
109
109
- `dayBackgroundColor`
110
110
- `dayNameLength`
111
+
- `dropListenerEnabled`: Whether items can be dropped on the weekview
111
112
- `eventCornerRadius`
112
113
- `eventMarginVertical`
113
114
- `eventPadding`
@@ -129,6 +130,7 @@ You can customize the look of the `WeekView` in xml. Use the following attribute
129
130
- `maxTime`
130
131
- `minHourHeight`
131
132
- `minTime`
133
+
- `minOverlappingMinutes`: The minimal amount of overlap of 2 events needed to be seen as overlapping events
132
134
- `newEventColor`
133
135
- `newEventId`
134
136
- `newEventIconResource`
@@ -168,6 +170,8 @@ Use the following interfaces according to your need.
168
170
- `mWeekView.setDateTimeInterpreter()` to set your own labels for the calendar header row and header column
169
171
- `mWeekView.setScrollListener()` to get an event every time the first visible day has changed
170
172
- `mWeekView.setAddEventClickListener()` to get the start and end time of an event to add
173
+
- `mWeekView.setTextColorPicker()` to change the textcolor of an event, based on the event. You can, for example, set a different text color depending on the color of the event.
0 commit comments