move the current time marker behind events in weekly view

This commit is contained in:
tibbi 2017-02-11 11:54:33 +01:00
parent 19099038ad
commit 354a7d1944
1 changed files with 1 additions and 1 deletions

View File

@ -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 {