remove the top margin of all-day events in the weekly view
This commit is contained in:
parent
1d277a143a
commit
c953044cde
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue