add some margin to the month view

This commit is contained in:
tibbi 2016-09-15 13:03:03 +02:00
parent 1205122af0
commit 37e03e959f
2 changed files with 1 additions and 4 deletions

View file

@ -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);

View file

@ -9,6 +9,7 @@
<com.simplemobiletools.calendar.views.MyViewPager
android:id="@+id/view_pager"
android:layout_width="match_parent"
android:layout_margin="@dimen/activity_margin"
android:layout_height="match_parent"/>
<android.support.design.widget.FloatingActionButton