From a6960b0844593d3d00ece58acf7e2ee651345265 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 4 May 2018 23:38:06 +0200 Subject: [PATCH] fix #441, add a setting for dimming past events, enabled by default --- .../activities/WidgetListConfigureActivity.kt | 4 +- .../calendar/adapters/DayEventsAdapter.kt | 20 +++++++--- .../calendar/adapters/EventListAdapter.kt | 26 ++++++++----- .../adapters/EventListWidgetAdapter.kt | 37 ++++++++++++++----- .../dialogs/RepeatLimitTypePickerDialog.kt | 6 +-- .../calendar/extensions/Context.kt | 14 ++++--- .../calendar/fragments/DayFragment.kt | 3 -- .../calendar/helpers/Constants.kt | 2 + .../calendar/helpers/DBHelper.kt | 8 ++-- .../calendar/helpers/Formatter.kt | 23 ++++++------ .../calendar/helpers/MyWidgetListProvider.kt | 3 +- .../calendar/models/ListEvent.kt | 4 +- .../calendar/models/ListSection.kt | 2 +- .../main/res/layout/event_item_day_view.xml | 9 ++--- app/src/main/res/layout/event_list_item.xml | 9 ++--- .../res/layout/event_list_item_widget.xml | 1 - 16 files changed, 101 insertions(+), 70 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/WidgetListConfigureActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/WidgetListConfigureActivity.kt index 5dfbc739e..547b066c3 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/WidgetListConfigureActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/WidgetListConfigureActivity.kt @@ -145,7 +145,7 @@ class WidgetListConfigureActivity : SimpleActivity() { var dateTime = DateTime.now().withTime(0, 0, 0, 0).plusDays(1) var code = Formatter.getDayCodeFromTS(dateTime.seconds()) var day = Formatter.getDayTitle(this, code) - listItems.add(ListSection(day, code)) + listItems.add(ListSection(day, code, false, false)) var time = dateTime.withHourOfDay(7) listItems.add(ListEvent(1, time.seconds(), time.plusMinutes(30).seconds(), getString(R.string.sample_title_1), getString(R.string.sample_description_1), false, config.primaryColor)) @@ -155,7 +155,7 @@ class WidgetListConfigureActivity : SimpleActivity() { dateTime = dateTime.plusDays(1) code = Formatter.getDayCodeFromTS(dateTime.seconds()) day = Formatter.getDayTitle(this, code) - listItems.add(ListSection(day, code)) + listItems.add(ListSection(day, code, false, false)) time = dateTime.withHourOfDay(8) listItems.add(ListEvent(3, time.seconds(), time.plusHours(1).seconds(), getString(R.string.sample_title_3), "", false, config.primaryColor)) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/DayEventsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/DayEventsAdapter.kt index 2343f3567..97e005249 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/DayEventsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/DayEventsAdapter.kt @@ -10,8 +10,10 @@ import com.simplemobiletools.calendar.extensions.config import com.simplemobiletools.calendar.extensions.dbHelper import com.simplemobiletools.calendar.extensions.shareEvents import com.simplemobiletools.calendar.helpers.Formatter +import com.simplemobiletools.calendar.helpers.LOW_ALPHA import com.simplemobiletools.calendar.models.Event import com.simplemobiletools.commons.adapters.MyRecyclerViewAdapter +import com.simplemobiletools.commons.extensions.adjustAlpha import com.simplemobiletools.commons.extensions.applyColorFilter import com.simplemobiletools.commons.extensions.beInvisible import com.simplemobiletools.commons.extensions.beInvisibleIf @@ -21,8 +23,9 @@ import kotlinx.android.synthetic.main.event_item_day_view.view.* class DayEventsAdapter(activity: SimpleActivity, val events: ArrayList, recyclerView: MyRecyclerView, itemClick: (Any) -> Unit) : MyRecyclerViewAdapter(activity, recyclerView, null, itemClick) { - private var allDayString = resources.getString(R.string.all_day) - private var replaceDescriptionWithLocation = activity.config.replaceDescription + private val allDayString = resources.getString(R.string.all_day) + private val replaceDescriptionWithLocation = activity.config.replaceDescription + private val dimPastEvents = activity.config.dimPastEvents init { setupDragListener(true) @@ -85,10 +88,15 @@ class DayEventsAdapter(activity: SimpleActivity, val events: ArrayList, r } } - event_item_start.setTextColor(textColor) - event_item_end.setTextColor(textColor) - event_section_title.setTextColor(textColor) - event_item_description.setTextColor(textColor) + var newTextColor = textColor + if (dimPastEvents && event.isPastEvent) { + newTextColor = newTextColor.adjustAlpha(LOW_ALPHA) + } + + event_item_start.setTextColor(newTextColor) + event_item_end.setTextColor(newTextColor) + event_section_title.setTextColor(newTextColor) + event_item_description.setTextColor(newTextColor) } } diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventListAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventListAdapter.kt index 8d3a8c29a..38b7cabef 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventListAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventListAdapter.kt @@ -8,13 +8,15 @@ import com.simplemobiletools.calendar.activities.SimpleActivity import com.simplemobiletools.calendar.dialogs.DeleteEventDialog import com.simplemobiletools.calendar.extensions.config import com.simplemobiletools.calendar.extensions.dbHelper -import com.simplemobiletools.calendar.extensions.getNowSeconds import com.simplemobiletools.calendar.extensions.shareEvents import com.simplemobiletools.calendar.helpers.Formatter +import com.simplemobiletools.calendar.helpers.LOW_ALPHA +import com.simplemobiletools.calendar.helpers.getNowSeconds import com.simplemobiletools.calendar.models.ListEvent import com.simplemobiletools.calendar.models.ListItem import com.simplemobiletools.calendar.models.ListSection import com.simplemobiletools.commons.adapters.MyRecyclerViewAdapter +import com.simplemobiletools.commons.extensions.adjustAlpha import com.simplemobiletools.commons.extensions.applyColorFilter import com.simplemobiletools.commons.extensions.beInvisible import com.simplemobiletools.commons.extensions.beInvisibleIf @@ -32,9 +34,8 @@ class EventListAdapter(activity: SimpleActivity, val listItems: ArrayList= now) { startTextColor = primaryColor } @@ -133,7 +137,11 @@ class EventListAdapter(activity: SimpleActivity, val listItems: ArrayList() private val textColor = context.config.widgetTextColor + private val weakTextColor = textColor.adjustAlpha(LOW_ALPHA) private val replaceDescription = context.config.replaceDescription + private val dimPastEvents = context.config.dimPastEvents private var mediumFontSize = context.config.getFontSize() override fun getViewAt(position: Int): RemoteViews? { val type = getItemViewType(position) val remoteView: RemoteViews + var curTextColor = textColor if (type == ITEM_EVENT) { val item = events[position] as ListEvent @@ -66,10 +68,14 @@ class EventListWidgetAdapter(val context: Context) : RemoteViewsService.RemoteVi setText(R.id.event_item_end, endString) } - setTextColor(R.id.event_section_title, textColor) - setTextColor(R.id.event_item_description, textColor) - setTextColor(R.id.event_item_start, textColor) - setTextColor(R.id.event_item_end, textColor) + if (dimPastEvents && item.isPastEvent) { + curTextColor = weakTextColor + } + + setTextColor(R.id.event_section_title, curTextColor) + setTextColor(R.id.event_item_description, curTextColor) + setTextColor(R.id.event_item_start, curTextColor) + setTextColor(R.id.event_item_end, curTextColor) setTextSize(R.id.event_section_title, mediumFontSize) setTextSize(R.id.event_item_description, mediumFontSize) @@ -84,8 +90,12 @@ class EventListWidgetAdapter(val context: Context) : RemoteViewsService.RemoteVi } } else { val item = events[position] as ListSection + if (dimPastEvents && item.isPastSection) { + curTextColor = weakTextColor + } + remoteView = RemoteViews(context.packageName, R.layout.event_list_section_widget).apply { - setTextColor(R.id.event_section_title, textColor) + setTextColor(R.id.event_section_title, curTextColor) setTextSize(R.id.event_section_title, mediumFontSize) setText(R.id.event_section_title, item.title) @@ -119,14 +129,21 @@ class EventListWidgetAdapter(val context: Context) : RemoteViewsService.RemoteVi val sorted = it.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, { if (replaceDescription) it.location else it.description })) val sublist = sorted.subList(0, Math.min(sorted.size, 100)) var prevCode = "" + val now = getNowSeconds() + val today = Formatter.getDayTitle(context, Formatter.getDayCodeFromTS(now)) + sublist.forEach { val code = Formatter.getDayCodeFromTS(it.startTS) if (code != prevCode) { val day = Formatter.getDayTitle(context, code) - listItems.add(ListSection(day, code)) + val isToday = day == today + val listSection = ListSection(day, code, isToday, !isToday && it.startTS < now) + listItems.add(listSection) prevCode = code } - listItems.add(ListEvent(it.id, it.startTS, it.endTS, it.title, it.description, it.getIsAllDay(), it.color, it.location)) + + val listEvent = ListEvent(it.id, it.startTS, it.endTS, it.title, it.description, it.getIsAllDay(), it.color, it.location, it.isPastEvent) + listItems.add(listEvent) } this@EventListWidgetAdapter.events = listItems diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/RepeatLimitTypePickerDialog.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/RepeatLimitTypePickerDialog.kt index 691bd6b32..7d30c22c4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/RepeatLimitTypePickerDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/RepeatLimitTypePickerDialog.kt @@ -7,9 +7,9 @@ import android.support.v7.app.AlertDialog import android.view.View import com.simplemobiletools.calendar.R import com.simplemobiletools.calendar.extensions.config -import com.simplemobiletools.calendar.extensions.getNowSeconds import com.simplemobiletools.calendar.extensions.seconds import com.simplemobiletools.calendar.helpers.Formatter +import com.simplemobiletools.calendar.helpers.getNowSeconds import com.simplemobiletools.commons.extensions.getDialogTheme import com.simplemobiletools.commons.extensions.setupDialogStuff import com.simplemobiletools.commons.extensions.value @@ -57,7 +57,7 @@ class RepeatLimitTypePickerDialog(val activity: Activity, var repeatLimit: Int, private fun updateRepeatLimitText() { if (repeatLimit <= 0) - repeatLimit = activity.getNowSeconds() + repeatLimit = getNowSeconds() val repeatLimitDateTime = Formatter.getDateTimeFromTS(repeatLimit) view.repeat_type_date.text = Formatter.getFullDate(activity, repeatLimitDateTime) @@ -82,7 +82,7 @@ class RepeatLimitTypePickerDialog(val activity: Activity, var repeatLimit: Int, @SuppressLint("NewApi") private fun showRepetitionLimitDialog() { - val repeatLimitDateTime = Formatter.getDateTimeFromTS(if (repeatLimit != 0) repeatLimit else activity.getNowSeconds()) + val repeatLimitDateTime = Formatter.getDateTimeFromTS(if (repeatLimit != 0) repeatLimit else getNowSeconds()) val datepicker = DatePickerDialog(activity, activity.getDialogTheme(), repetitionLimitDateSetListener, repeatLimitDateTime.year, repeatLimitDateTime.monthOfYear - 1, repeatLimitDateTime.dayOfMonth) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt index 991e42407..ef6cbf788 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt @@ -47,8 +47,6 @@ val Context.config: Config get() = Config.newInstance(applicationContext) val Context.dbHelper: DBHelper get() = DBHelper.newInstance(applicationContext) -fun Context.getNowSeconds() = (System.currentTimeMillis() / 1000).toInt() - fun Context.updateWidgets() { val widgetIDs = AppWidgetManager.getInstance(applicationContext).getAppWidgetIds(ComponentName(applicationContext, MyWidgetMonthlyProvider::class.java)) if (widgetIDs.isNotEmpty()) { @@ -150,7 +148,7 @@ fun Context.notifyRunningEvents() { fun Context.notifyEvent(originalEvent: Event) { var event = originalEvent.copy() - val currentSeconds = (System.currentTimeMillis() / 1000).toInt() + val currentSeconds = getNowSeconds() // make sure refer to the proper repeatable event instance with "Tomorrow", or the specific date if (event.repeatInterval != 0 && event.startTS - event.reminder1Minutes * 60 < currentSeconds) { @@ -401,14 +399,20 @@ fun Context.getEventListItems(events: List): ArrayList { val sorted = events.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, { if (replaceDescription) it.location else it.description })) val sublist = sorted.subList(0, Math.min(sorted.size, 100)) var prevCode = "" + val now = getNowSeconds() + val today = Formatter.getDayTitle(this, Formatter.getDayCodeFromTS(now)) + sublist.forEach { val code = Formatter.getDayCodeFromTS(it.startTS) if (code != prevCode) { val day = Formatter.getDayTitle(this, code) - listItems.add(ListSection(day, code)) + val isToday = day == today + val listSection = ListSection(day, code, isToday, !isToday && it.startTS < now) + listItems.add(listSection) prevCode = code } - listItems.add(ListEvent(it.id, it.startTS, it.endTS, it.title, it.description, it.getIsAllDay(), it.color, it.location)) + val listEvent = ListEvent(it.id, it.startTS, it.endTS, it.title, it.description, it.getIsAllDay(), it.color, it.location, it.isPastEvent) + listItems.add(listEvent) } return listItems } diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/DayFragment.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/DayFragment.kt index 52e8d4d8f..4e5e2e146 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/DayFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/DayFragment.kt @@ -1,7 +1,6 @@ package com.simplemobiletools.calendar.fragments import android.content.Intent -import android.content.res.Resources import android.os.Bundle import android.support.v4.app.Fragment import android.support.v7.app.AlertDialog @@ -37,12 +36,10 @@ class DayFragment : Fragment() { private var mDayCode = "" private var lastHash = 0 - lateinit var mRes: Resources lateinit var mHolder: RelativeLayout override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { val view = inflater.inflate(R.layout.fragment_day, container, false) - mRes = resources mHolder = view.day_holder mDayCode = arguments!!.getString(DAY_CODE) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Constants.kt index 77ec4db33..4e34b865d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Constants.kt @@ -122,3 +122,5 @@ const val SOURCE_SIMPLE_CALENDAR = "simple-calendar" const val SOURCE_IMPORTED_ICS = "imported-ics" const val SOURCE_CONTACT_BIRTHDAY = "contact-birthday" const val SOURCE_CONTACT_ANNIVERSARY = "contact-anniversary" + +fun getNowSeconds() = (System.currentTimeMillis() / 1000).toInt() diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt index 2492bb25c..b35702d22 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt @@ -788,7 +788,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont fun getRunningEvents(): List { val events = ArrayList() - val ts = context.getNowSeconds() + val ts = getNowSeconds() val selection = "$COL_START_TS <= ? AND $COL_END_TS >= ? AND $COL_REPEAT_INTERVAL IS 0 AND $COL_START_TS != 0" val selectionArgs = arrayOf(ts.toString(), ts.toString()) @@ -829,7 +829,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont } fun getEventsToExport(includePast: Boolean): ArrayList { - val currTime = context.getNowSeconds().toString() + val currTime = getNowSeconds().toString() var events = ArrayList() // non repeating events @@ -914,7 +914,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont repeatRule = REPEAT_MONTH_SAME_DAY } - val isPastEvent = endTS < System.currentTimeMillis() / 1000 + val isPastEvent = endTS < getNowSeconds() val event = Event(id, startTS, endTS, title, description, reminder1Minutes, reminder2Minutes, reminder3Minutes, repeatInterval, importId, flags, repeatLimit, repeatRule, eventType, ignoreEventOccurrences, offset, isDstIncluded, @@ -1044,5 +1044,5 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont } } - private fun getIsPastEvent(event: Event) = event.endTS < System.currentTimeMillis() / 1000 + private fun getIsPastEvent(event: Event) = event.endTS < getNowSeconds() } diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Formatter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Formatter.kt index 0bfe927db..bc9ac956f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Formatter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/Formatter.kt @@ -3,7 +3,6 @@ package com.simplemobiletools.calendar.helpers import android.content.Context import com.simplemobiletools.calendar.R import com.simplemobiletools.calendar.extensions.config -import com.simplemobiletools.calendar.extensions.getNowSeconds import com.simplemobiletools.calendar.extensions.seconds import org.joda.time.DateTime import org.joda.time.DateTimeZone @@ -11,17 +10,17 @@ import org.joda.time.LocalDate import org.joda.time.format.DateTimeFormat object Formatter { - val DAYCODE_PATTERN = "YYYYMMdd" - val YEAR_PATTERN = "YYYY" - val TIME_PATTERN = "HHmmss" - private val DAY_PATTERN = "d" - private val DAY_OF_WEEK_PATTERN = "EEE" - private val LONGEST_PATTERN = "MMMM dd YYYY (EEEE)" - private val PATTERN_TIME_12 = "hh:mm a" - private val PATTERN_TIME_24 = "HH:mm" + const val DAYCODE_PATTERN = "YYYYMMdd" + const val YEAR_PATTERN = "YYYY" + const val TIME_PATTERN = "HHmmss" + private const val DAY_PATTERN = "d" + private const val DAY_OF_WEEK_PATTERN = "EEE" + private const val LONGEST_PATTERN = "MMMM dd YYYY (EEEE)" + private const val PATTERN_TIME_12 = "hh:mm a" + private const val PATTERN_TIME_24 = "HH:mm" - private val PATTERN_HOURS_12 = "h a" - private val PATTERN_HOURS_24 = "HH" + private const val PATTERN_HOURS_12 = "h a" + private const val PATTERN_HOURS_24 = "HH" fun getDateFromCode(context: Context, dayCode: String, shortMonth: Boolean = false): String { val dateTime = getDateTimeFromCode(dayCode) @@ -59,7 +58,7 @@ object Formatter { return "$month $day $year" } - fun getTodayCode(context: Context) = Formatter.getDayCodeFromTS(context.getNowSeconds()) + fun getTodayCode(context: Context) = Formatter.getDayCodeFromTS(getNowSeconds()) fun getHours(context: Context, dateTime: DateTime) = dateTime.toString(getHourPattern(context)) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetListProvider.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetListProvider.kt index 6205fb432..fec9e3a0b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetListProvider.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetListProvider.kt @@ -11,7 +11,6 @@ import android.widget.RemoteViews import com.simplemobiletools.calendar.R import com.simplemobiletools.calendar.activities.SplashActivity import com.simplemobiletools.calendar.extensions.config -import com.simplemobiletools.calendar.extensions.getNowSeconds import com.simplemobiletools.calendar.extensions.launchNewEventIntent import com.simplemobiletools.calendar.services.WidgetService import com.simplemobiletools.commons.extensions.getColoredBitmap @@ -43,7 +42,7 @@ class MyWidgetListProvider : AppWidgetProvider() { setTextSize(R.id.widget_event_list_today, fontSize) } - val todayText = Formatter.getLongestDate(context.getNowSeconds()) + val todayText = Formatter.getLongestDate(getNowSeconds()) views.setText(R.id.widget_event_list_today, todayText) views.setImageViewBitmap(R.id.widget_event_new_event, context.resources.getColoredBitmap(R.drawable.ic_plus, textColor)) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/models/ListEvent.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/models/ListEvent.kt index 5cfcaa46f..6b3e7c761 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/models/ListEvent.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/models/ListEvent.kt @@ -1,4 +1,4 @@ package com.simplemobiletools.calendar.models -class ListEvent(var id: Int = 0, var startTS: Int = 0, var endTS: Int = 0, var title: String = "", var description: String = "", - var isAllDay: Boolean, var color: Int, var location: String = "") : ListItem() +data class ListEvent(var id: Int = 0, var startTS: Int = 0, var endTS: Int = 0, var title: String = "", var description: String = "", + var isAllDay: Boolean, var color: Int, var location: String = "", var isPastEvent: Boolean = false) : ListItem() diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/models/ListSection.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/models/ListSection.kt index 5dee1e13a..c4aeb7392 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/models/ListSection.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/models/ListSection.kt @@ -1,3 +1,3 @@ package com.simplemobiletools.calendar.models -data class ListSection(val title: String, val code: String, val isToday: Boolean = false) : ListItem() +data class ListSection(val title: String, val code: String, val isToday: Boolean, val isPastSection: Boolean) : ListItem() diff --git a/app/src/main/res/layout/event_item_day_view.xml b/app/src/main/res/layout/event_item_day_view.xml index fb9cea008..c66c75730 100644 --- a/app/src/main/res/layout/event_item_day_view.xml +++ b/app/src/main/res/layout/event_item_day_view.xml @@ -18,14 +18,14 @@ android:paddingBottom="@dimen/medium_margin" android:paddingTop="@dimen/medium_margin"> - - - - - - - -