widget: change default size

Make the default widget size 3x2 again. This is because the UX is
generally nicer if the smaller widget is used as the default and
because the small widget is now no longer text-only and ugly.
This commit is contained in:
OxygenCobalt
2021-11-20 09:53:10 -07:00
parent 0e3ffb973b
commit 58c2681f72
5 changed files with 9 additions and 12 deletions
-1
View File
@@ -57,7 +57,6 @@
android:paddingBottom="@dimen/spacing_small"
android:paddingStart="@dimen/spacing_small"
android:paddingEnd="@dimen/spacing_small"
android:elevation="@dimen/elevation_normal"
android:orientation="horizontal"
android:background="@drawable/ui_widget_panel"
android:layout_gravity="center">
-1
View File
@@ -55,7 +55,6 @@
android:layout_alignParentBottom="true"
android:layout_gravity="center"
android:background="@drawable/ui_widget_panel"
android:elevation="@dimen/elevation_normal"
android:orientation="horizontal"
android:paddingTop="@dimen/spacing_small"
android:paddingBottom="@dimen/spacing_small"
+1 -1
View File
@@ -36,5 +36,5 @@
<dimen name="widget_width_min">176dp</dimen>
<dimen name="widget_height_min">110dp</dimen>
<dimen name="widget_width_def">@dimen/widget_width_min</dimen>
<dimen name="widget_height_def">110dp</dimen>
<dimen name="widget_height_def">@dimen/widget_height_min</dimen>
</resources>
+2 -2
View File
@@ -7,9 +7,9 @@
android:minResizeWidth="@dimen/widget_width_min"
android:minResizeHeight="@dimen/widget_height_min"
android:previewImage="@drawable/ui_widget_preview"
android:previewLayout="@layout/widget_medium"
android:previewLayout="@layout/widget_small"
android:resizeMode="horizontal|vertical"
android:targetCellWidth="3"
android:targetCellHeight="3"
android:targetCellHeight="2"
android:updatePeriodMillis="0"
android:widgetCategory="home_screen" />