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 2bd308693..5f5446217 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/DayEventsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/DayEventsAdapter.kt @@ -67,7 +67,7 @@ class DayEventsAdapter(activity: SimpleActivity, val events: ArrayList, r private fun setupView(view: View, event: Event) { view.apply { - event_section_title.text = event.title + event_item_title.text = event.title event_item_description.text = if (replaceDescriptionWithLocation) event.location else event.description event_item_start.text = if (event.getIsAllDay()) allDayString else Formatter.getTimeFromTS(context, event.startTS) event_item_end.beInvisibleIf(event.startTS == event.endTS) @@ -98,7 +98,7 @@ class DayEventsAdapter(activity: SimpleActivity, val events: ArrayList, r event_item_start.setTextColor(newTextColor) event_item_end.setTextColor(newTextColor) - event_section_title.setTextColor(newTextColor) + event_item_title.setTextColor(newTextColor) event_item_description.setTextColor(newTextColor) } } 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 c66c75730..946492adf 100644 --- a/app/src/main/res/layout/event_item_day_view.xml +++ b/app/src/main/res/layout/event_item_day_view.xml @@ -34,7 +34,7 @@ android:textSize="@dimen/day_text_size"/> diff --git a/app/src/main/res/layout/event_list_item.xml b/app/src/main/res/layout/event_list_item.xml index a6e5cf662..a0fb32fb9 100644 --- a/app/src/main/res/layout/event_list_item.xml +++ b/app/src/main/res/layout/event_list_item.xml @@ -68,10 +68,10 @@ android:id="@+id/event_item_color" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_alignBottom="@+id/event_section_title" + android:layout_alignBottom="@+id/event_item_title" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" - android:layout_alignTop="@+id/event_section_title" + android:layout_alignTop="@+id/event_item_title" android:paddingRight="@dimen/medium_margin" android:src="@drawable/monthly_event_dot"/> diff --git a/app/src/main/res/layout/event_list_item_simple.xml b/app/src/main/res/layout/event_list_item_simple.xml index e9f31672d..83deda7dc 100644 --- a/app/src/main/res/layout/event_list_item_simple.xml +++ b/app/src/main/res/layout/event_list_item_simple.xml @@ -44,10 +44,10 @@ android:id="@+id/event_item_color" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_alignBottom="@+id/event_section_title" + android:layout_alignBottom="@+id/event_item_title" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" - android:layout_alignTop="@+id/event_section_title" + android:layout_alignTop="@+id/event_item_title" android:paddingRight="@dimen/medium_margin" android:src="@drawable/monthly_event_dot"/>