summaryrefslogtreecommitdiffstats
path: root/src/com/android/calendar/month/MonthWeekEventsView.java
diff options
context:
space:
mode:
authorRoboErik <epastern@google.com>2011-02-15 17:47:45 -0800
committerRoboErik <epastern@google.com>2011-02-23 15:40:21 -0800
commit2fda24534978f55711526dbde747aa50d68dec40 (patch)
tree831c302d7135b43d0b461bac6de7d5573bf69c7a /src/com/android/calendar/month/MonthWeekEventsView.java
parent12fc4b98e9dedc86a44bb732d6684f44d8d99c11 (diff)
downloadandroid_packages_apps_Calendar-2fda24534978f55711526dbde747aa50d68dec40.tar.gz
android_packages_apps_Calendar-2fda24534978f55711526dbde747aa50d68dec40.tar.bz2
android_packages_apps_Calendar-2fda24534978f55711526dbde747aa50d68dec40.zip
b/3157682 Makes the allday area expandable
If there are too many allday events they become impossible to read. This makes it so that in this case we will instead hide the excess events with information about how many are hidden and an easy way to expand the allday area to show all the allday events. Also fixes b/3472230 Change-Id: I5a73cc20f1edde54d90fc76fb7ac5ebd1260b073
Diffstat (limited to 'src/com/android/calendar/month/MonthWeekEventsView.java')
-rw-r--r--src/com/android/calendar/month/MonthWeekEventsView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/calendar/month/MonthWeekEventsView.java b/src/com/android/calendar/month/MonthWeekEventsView.java
index a09d75b1..a228d204 100644
--- a/src/com/android/calendar/month/MonthWeekEventsView.java
+++ b/src/com/android/calendar/month/MonthWeekEventsView.java
@@ -450,7 +450,7 @@ public class MonthWeekEventsView extends SimpleWeekView {
// bottom of box
lines.array[count++] = x;
lines.array[count++] = y + EVENT_SQUARE_WIDTH;
- lines.array[count++] = x + EVENT_SQUARE_WIDTH;
+ lines.array[count++] = x + EVENT_SQUARE_WIDTH + 1;
lines.array[count++] = y + EVENT_SQUARE_WIDTH;
return count;