From 0ad79384aaef003bcdb80b4ec588bd72bbc2a3f2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 25 Mar 2018 22:49:18 +0200 Subject: [PATCH] add three dots below the monthly view events, if theres some hidden ones --- .../kotlin/com/simplemobiletools/calendar/views/MonthView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/views/MonthView.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/views/MonthView.kt index f352ab546..ac0137271 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/views/MonthView.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/views/MonthView.kt @@ -121,6 +121,7 @@ class MonthView(context: Context, attrs: AttributeSet, defStyle: Int) : View(con day.dayEvents.forEach { if (shownDayEvents >= maxEventsPerDay) { + canvas.drawText("...", xPosCenter, yPos + paint.textSize * 2 + maxEventsPerDay * eventTitleHeight, getTextPaint(day)) return@forEach }