Add bottom divider at the monthly view with bottom quick event type filtering and monthly view grid enabled

This commit is contained in:
Paul Akhamiogu 2021-08-22 21:33:28 +01:00
parent ce4d094e3b
commit d21df87af9
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ class MonthView(context: Context, attrs: AttributeSet, defStyle: Int) : View(con
for (i in 0 until ROW_COUNT) { for (i in 0 until ROW_COUNT) {
canvas.drawLine(0f, i * dayHeight + weekDaysLetterHeight, canvas.width.toFloat(), i * dayHeight + weekDaysLetterHeight, gridPaint) canvas.drawLine(0f, i * dayHeight + weekDaysLetterHeight, canvas.width.toFloat(), i * dayHeight + weekDaysLetterHeight, gridPaint)
} }
canvas.drawLine(0f, canvas.height.toFloat(), canvas.width.toFloat(), canvas.height.toFloat(), gridPaint)
} }
private fun addWeekDayLetters(canvas: Canvas) { private fun addWeekDayLetters(canvas: Canvas) {