From 7b2f96b8f6af670a9d69c0dd93ee7f0b7235a583 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 16 Dec 2018 21:16:17 +0100 Subject: [PATCH] make the image on widget config screen wider --- app/src/main/res/layout/activity_widget_config.xml | 3 ++- app/src/main/res/xml/widget_info.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/activity_widget_config.xml b/app/src/main/res/layout/activity_widget_config.xml index 27660cce8..ae762ab01 100644 --- a/app/src/main/res/layout/activity_widget_config.xml +++ b/app/src/main/res/layout/activity_widget_config.xml @@ -60,7 +60,7 @@ @@ -68,6 +68,7 @@ android:id="@+id/config_image" android:layout_width="@dimen/widget_initial_size" android:layout_height="@dimen/widget_initial_size" + android:layout_centerHorizontal="true" android:layout_marginLeft="@dimen/normal_margin" android:layout_marginTop="@dimen/normal_margin" android:layout_marginRight="@dimen/normal_margin"/> diff --git a/app/src/main/res/xml/widget_info.xml b/app/src/main/res/xml/widget_info.xml index 4bb417b39..801061d71 100644 --- a/app/src/main/res/xml/widget_info.xml +++ b/app/src/main/res/xml/widget_info.xml @@ -4,7 +4,7 @@ android:configure="com.simplemobiletools.gallery.pro.activities.WidgetConfigureActivity" android:initialLayout="@layout/widget" android:minWidth="@dimen/widget_initial_size" - android:minHeight="@dimen/widget_initial_size" + android:minHeight="40dp" android:minResizeWidth="40dp" android:minResizeHeight="40dp" android:resizeMode="horizontal|vertical"/>