From 354a7d1944cc83aa940675678949c4bc4d358f6a Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 11 Feb 2017 11:54:33 +0100 Subject: [PATCH] move the current time marker behind events in weekly view --- .../com/simplemobiletools/calendar/fragments/WeekFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/WeekFragment.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/WeekFragment.kt index 78fd1dae9..be4ca3892 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/WeekFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/WeekFragment.kt @@ -268,7 +268,7 @@ class WeekFragment : Fragment(), WeeklyCalendar { (inflater.inflate(R.layout.week_now_marker, null, false) as ImageView).apply { setColorFilter(primaryColor, PorterDuff.Mode.SRC_IN) activity.runOnUiThread { - mView.week_events_holder.addView(this) + mView.week_events_holder.addView(this, 0) val extraWidth = (todayColumn.width * 0.3).toInt() val markerHeight = resources.getDimension(R.dimen.weekly_view_now_height).toInt() (layoutParams as RelativeLayout.LayoutParams).apply {