Merge pull request #1453 from KryptKode/feat/add-monthlyview-bottom-divider

Add bottom divider at the monthly view
This commit is contained in:
Tibor Kaputa 2021-08-23 10:24:59 +02:00 committed by GitHub
commit d095490412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,6 +204,7 @@ class MonthView(context: Context, attrs: AttributeSet, defStyle: Int) : View(con
for (i in 0 until ROW_COUNT) {
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) {