remove the top margin of all-day events in the weekly view

This commit is contained in:
tibbi 2018-06-12 20:49:59 +02:00
parent 1d277a143a
commit c953044cde
2 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,6 @@ class WeekFragment : Fragment(), WeeklyCalendar {
allDayHolders[drawAtLine].addView(this)
(layoutParams as RelativeLayout.LayoutParams).apply {
topMargin = mRes.getDimension(R.dimen.tiny_margin).toInt()
leftMargin = getColumnWithId(firstDayIndex).x.toInt()
bottomMargin = 1
width = getColumnWithId(Math.min(firstDayIndex + daysCnt, 6)).right - leftMargin - 1

View File

@ -81,6 +81,7 @@
android:id="@+id/week_top_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/stroke_bottom"
android:gravity="center_vertical">
<LinearLayout