From c8aeb682cc13703d4d5bbbe70707aeff32728797 Mon Sep 17 00:00:00 2001 From: Federico Baron Date: Tue, 20 Jun 2023 18:57:17 +0000 Subject: [PATCH] Revert "Fix padding/margin for widgets in widgetpicker" This reverts commit 3cc8de12682ce7f68bc17afc09b01ea6702b5b87. Reason for revert: when adding this extra margin to widget_cell it has the unintended effect of making text width available for the widgets shorter than it originally was (E.g Dynamic Colors becomes Dynamic Co...). Adding padding to widgets_table_container.xml instead seems to be a better solution to this issue. Change-Id: I90b850a43aca573a26131a96d5d8f5fbde8b5f6e --- res/layout/widget_cell.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/res/layout/widget_cell.xml b/res/layout/widget_cell.xml index 9868e20c2c..55dd1de034 100644 --- a/res/layout/widget_cell.xml +++ b/res/layout/widget_cell.xml @@ -19,7 +19,6 @@ android:layout_height="wrap_content" android:paddingHorizontal="@dimen/widget_cell_horizontal_padding" android:paddingVertical="@dimen/widget_cell_vertical_padding" - android:layout_marginHorizontal="@dimen/widget_cell_horizontal_padding" android:layout_weight="1" android:orientation="vertical" android:focusable="true"