From e82bd47aabf1aed18232113d3ad71f3dd5839dc7 Mon Sep 17 00:00:00 2001 From: "Alinson S. Xavier" Date: Sun, 23 Mar 2025 16:52:23 -0500 Subject: [PATCH] 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 --- .../src/main/res/xml/widget_checkmark_info.xml | 4 ++-- .../src/main/res/xml/widget_frequency_info.xml | 8 ++++---- uhabits-android/src/main/res/xml/widget_history_info.xml | 8 ++++---- uhabits-android/src/main/res/xml/widget_score_info.xml | 8 ++++---- uhabits-android/src/main/res/xml/widget_streak_info.xml | 8 ++++---- uhabits-android/src/main/res/xml/widget_target_info.xml | 8 ++++---- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/uhabits-android/src/main/res/xml/widget_checkmark_info.xml b/uhabits-android/src/main/res/xml/widget_checkmark_info.xml index 86172553b..995432b15 100644 --- a/uhabits-android/src/main/res/xml/widget_checkmark_info.xml +++ b/uhabits-android/src/main/res/xml/widget_checkmark_info.xml @@ -19,8 +19,8 @@ -->