From 37e03e959f8a0710e9f6fa857531eff405a377dd Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 15 Sep 2016 13:03:03 +0200 Subject: [PATCH] add some margin to the month view --- .../simplemobiletools/calendar/activities/MainActivity.java | 4 ---- app/src/main/res/layout/activity_main.xml | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/com/simplemobiletools/calendar/activities/MainActivity.java b/app/src/main/java/com/simplemobiletools/calendar/activities/MainActivity.java index 3c2d2579b..5d0b701ac 100644 --- a/app/src/main/java/com/simplemobiletools/calendar/activities/MainActivity.java +++ b/app/src/main/java/com/simplemobiletools/calendar/activities/MainActivity.java @@ -43,7 +43,6 @@ public class MainActivity extends SimpleActivity implements Calendar { @BindDimen(R.dimen.day_text_size) float mDayTextSize; @BindDimen(R.dimen.today_text_size) float mTodayTextSize; - @BindDimen(R.dimen.activity_margin) int mActivityMargin; private static final int PREFILLED_MONTHS = 73; @@ -78,9 +77,6 @@ public class MainActivity extends SimpleActivity implements Calendar { mTodayTextSize /= mRes.getDisplayMetrics().density; setupLabels(); - /*final CoordinatorLayout.LayoutParams params = (CoordinatorLayout.LayoutParams) mCalendarHolder.getLayoutParams(); - params.setMargins(mActivityMargin, mActivityMargin, mActivityMargin, mActivityMargin);*/ - mCalendar = new CalendarImpl(this, getApplicationContext()); final String today = new DateTime().toString(Formatter.DAYCODE_PATTERN); diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 8ee27400a..8692bf459 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -9,6 +9,7 @@