diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/views/SmallMonthView.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/views/SmallMonthView.kt index fdf0d2ee9..b9e1ab1b2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/views/SmallMonthView.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/views/SmallMonthView.kt @@ -73,7 +73,7 @@ class SmallMonthView(context: Context, attrs: AttributeSet, defStyle: Int) : Vie override fun onDraw(canvas: Canvas) { super.onDraw(canvas) if (mDayWidth == 0f) { - if(resources.configuration.orientation == Configuration.ORIENTATION_LANDSCAPE){ + if (resources.configuration.orientation == Configuration.ORIENTATION_LANDSCAPE) { mDayWidth = (canvas.width / 9.2).toFloat() } else mDayWidth = (canvas.width / 8).toFloat() } diff --git a/app/src/main/res/layout-land/fragment_year.xml b/app/src/main/res/layout-land/fragment_year.xml index a28716501..40c30541c 100644 --- a/app/src/main/res/layout-land/fragment_year.xml +++ b/app/src/main/res/layout-land/fragment_year.xml @@ -31,8 +31,7 @@ android:layout_height="wrap_content" android:layout_below="@+id/month_1_label" android:layout_marginLeft="@dimen/yearly_month_left_padding" - android:layout_marginStart="@dimen/yearly_month_left_padding" - /> + android:layout_marginStart="@dimen/yearly_month_left_padding" /> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index e18f70055..074e892fb 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -15,6 +15,9 @@ 40dp + 40dp + 40dp + 14sp 17sp 22sp