From 733ae07ebc1a5d68e124dd78a4516094c0465607 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 16 Mar 2017 22:51:55 +0100 Subject: [PATCH] fix #127, make the widgets downsizable to 2x2 --- app/src/main/res/xml/widget_list_info.xml | 2 ++ app/src/main/res/xml/widget_monthly_info.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/src/main/res/xml/widget_list_info.xml b/app/src/main/res/xml/widget_list_info.xml index 4a055b0c0..05a61dbd4 100644 --- a/app/src/main/res/xml/widget_list_info.xml +++ b/app/src/main/res/xml/widget_list_info.xml @@ -4,6 +4,8 @@ android:configure="com.simplemobiletools.calendar.activities.WidgetListConfigureActivity" android:initialLayout="@layout/widget_event_list" android:minHeight="@dimen/min_widget_height" + android:minResizeHeight="110dp" + android:minResizeWidth="110dp" android:minWidth="@dimen/min_widget_width" android:previewImage="@drawable/img_widget_list_preview" android:resizeMode="horizontal|vertical" diff --git a/app/src/main/res/xml/widget_monthly_info.xml b/app/src/main/res/xml/widget_monthly_info.xml index 5c6210879..59f81443e 100644 --- a/app/src/main/res/xml/widget_monthly_info.xml +++ b/app/src/main/res/xml/widget_monthly_info.xml @@ -4,6 +4,8 @@ android:configure="com.simplemobiletools.calendar.activities.WidgetMonthlyConfigureActivity" android:initialLayout="@layout/fragment_month" android:minHeight="@dimen/min_widget_height" + android:minResizeHeight="110dp" + android:minResizeWidth="110dp" android:minWidth="@dimen/min_widget_width" android:previewImage="@drawable/img_widget_monthly_preview" android:resizeMode="horizontal|vertical"