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:
parent
1cf1451aef
commit
9debe06029
2 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
||||||
android:initialLayout="@layout/widget_default"
|
android:initialLayout="@layout/widget_default"
|
||||||
android:minWidth="@dimen/widget_width_def"
|
android:minWidth="@dimen/widget_width_def"
|
||||||
android:minHeight="@dimen/widget_height_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:previewImage="@drawable/ui_widget_preview"
|
||||||
android:previewLayout="@layout/widget_small"
|
android:previewLayout="@layout/widget_small"
|
||||||
android:resizeMode="horizontal|vertical"
|
android:resizeMode="horizontal|vertical"
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
android:initialLayout="@layout/widget_default"
|
android:initialLayout="@layout/widget_default"
|
||||||
android:minWidth="@dimen/widget_width_def"
|
android:minWidth="@dimen/widget_width_def"
|
||||||
android:minHeight="@dimen/widget_height_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:previewImage="@drawable/ui_widget_preview"
|
||||||
android:resizeMode="horizontal|vertical"
|
android:resizeMode="horizontal|vertical"
|
||||||
android:updatePeriodMillis="0"
|
android:updatePeriodMillis="0"
|
||||||
|
|
Loading…
Reference in a new issue