From 61097732cb8c2e3ab3b2a1d3ed3c108d9c78bc4e Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Thu, 2 Jan 2025 22:05:07 -0400 Subject: [PATCH] FIX: Price value should autosize --- android/app/src/main/res/layout/widget_layout.xml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/android/app/src/main/res/layout/widget_layout.xml b/android/app/src/main/res/layout/widget_layout.xml index 2f0285aa4..addec03a8 100644 --- a/android/app/src/main/res/layout/widget_layout.xml +++ b/android/app/src/main/res/layout/widget_layout.xml @@ -58,13 +58,20 @@ style="@style/WidgetTextPrimary" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_gravity="end" + android:layout_marginEnd="8dp" + android:layout_marginBottom="8dp" + android:autoSizeMaxTextSize="24sp" + android:autoSizeMinTextSize="12sp" + android:autoSizeStepGranularity="2sp" + android:autoSizeTextType="uniform" + android:duplicateParentState="false" + android:editable="false" + android:lines="1" android:text="Loading..." android:textSize="24sp" android:textStyle="bold" - android:layout_marginEnd="8dp" - android:layout_marginBottom="8dp" - android:visibility="gone" - android:layout_gravity="end"/> + android:visibility="gone" />