make the image on widget config screen wider

This commit is contained in:
tibbi 2018-12-16 21:16:17 +01:00
parent b812aeb7ce
commit 7b2f96b8f6
2 changed files with 3 additions and 2 deletions

View file

@ -60,7 +60,7 @@
<RelativeLayout <RelativeLayout
android:id="@+id/config_image_holder" android:id="@+id/config_image_holder"
android:layout_width="@dimen/widget_initial_size" android:layout_width="160dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/folder_picker_holder"> android:layout_below="@+id/folder_picker_holder">
@ -68,6 +68,7 @@
android:id="@+id/config_image" android:id="@+id/config_image"
android:layout_width="@dimen/widget_initial_size" android:layout_width="@dimen/widget_initial_size"
android:layout_height="@dimen/widget_initial_size" android:layout_height="@dimen/widget_initial_size"
android:layout_centerHorizontal="true"
android:layout_marginLeft="@dimen/normal_margin" android:layout_marginLeft="@dimen/normal_margin"
android:layout_marginTop="@dimen/normal_margin" android:layout_marginTop="@dimen/normal_margin"
android:layout_marginRight="@dimen/normal_margin"/> android:layout_marginRight="@dimen/normal_margin"/>

View file

@ -4,7 +4,7 @@
android:configure="com.simplemobiletools.gallery.pro.activities.WidgetConfigureActivity" android:configure="com.simplemobiletools.gallery.pro.activities.WidgetConfigureActivity"
android:initialLayout="@layout/widget" android:initialLayout="@layout/widget"
android:minWidth="@dimen/widget_initial_size" android:minWidth="@dimen/widget_initial_size"
android:minHeight="@dimen/widget_initial_size" android:minHeight="40dp"
android:minResizeWidth="40dp" android:minResizeWidth="40dp"
android:minResizeHeight="40dp" android:minResizeHeight="40dp"
android:resizeMode="horizontal|vertical"/> android:resizeMode="horizontal|vertical"/>