widgets: add min resize width

Add a minimum resize width to widgets to maybe stop widget size limits
from being forgotten at random.
This commit is contained in:
Alexander Capehart
2022-10-26 21:03:07 -06:00
parent 1cf1451aef
commit 9debe06029
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -4,6 +4,8 @@
android:initialLayout="@layout/widget_default"
android:minWidth="@dimen/widget_width_def"
android:minHeight="@dimen/widget_height_def"
android:minResizeHeight="@dimen/widget_height_def"
android:minResizeWidth="@dimen/widget_width_def"
android:previewImage="@drawable/ui_widget_preview"
android:previewLayout="@layout/widget_small"
android:resizeMode="horizontal|vertical"
+2
View File
@@ -3,6 +3,8 @@
android:initialLayout="@layout/widget_default"
android:minWidth="@dimen/widget_width_def"
android:minHeight="@dimen/widget_height_def"
android:minResizeHeight="@dimen/widget_height_def"
android:minResizeWidth="@dimen/widget_width_def"
android:previewImage="@drawable/ui_widget_preview"
android:resizeMode="horizontal|vertical"
android:updatePeriodMillis="0"