mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Increase minimum widget size to 50x50 and 100x100
Some Samsung phones were allowing graph widgets to occupy 1x2 or 2x1 grid cells, leading to very small text. This commit bumps up the minimum widget size to 100x100 to ensure they always occupy at least 2x2 cells. Tested on Pixel 4, Pixel 7 and Samsung Galaxy S24. Closes #2118
This commit is contained in:
@@ -19,10 +19,10 @@
|
||||
-->
|
||||
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:minHeight="80dp"
|
||||
android:minWidth="80dp"
|
||||
android:minResizeWidth="80dp"
|
||||
android:minResizeHeight="80dp"
|
||||
android:minHeight="100dp"
|
||||
android:minWidth="100dp"
|
||||
android:minResizeWidth="100dp"
|
||||
android:minResizeHeight="100dp"
|
||||
android:initialLayout="@layout/widget_graph"
|
||||
android:previewImage="@drawable/widget_preview_frequency"
|
||||
android:resizeMode="vertical|horizontal"
|
||||
|
||||
Reference in New Issue
Block a user