From 7896aa2430eb9eb8245ce707f0991bbecfb12866 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Mon, 9 Jan 2023 13:58:59 -0800 Subject: [PATCH] [User Switcher] Fix wrap method for large... screen sizes. Change from chain to aligned so that number of elements are even throughout. Test: Open user switcher on tablet with largest display size in portraint and landscape with 8+ users. Fixes: 263448026 Change-Id: I65dc8f541ba19fac3b58bd5ba562237c0d813ffb --- packages/SystemUI/res/layout/user_switcher_fullscreen.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/res/layout/user_switcher_fullscreen.xml b/packages/SystemUI/res/layout/user_switcher_fullscreen.xml index fa9d7390dcf8e..7eaed4356f46c 100644 --- a/packages/SystemUI/res/layout/user_switcher_fullscreen.xml +++ b/packages/SystemUI/res/layout/user_switcher_fullscreen.xml @@ -46,7 +46,7 @@ app:layout_constraintEnd_toEndOf="parent" app:flow_horizontalBias="0.5" app:flow_verticalAlign="center" - app:flow_wrapMode="chain" + app:flow_wrapMode="chain2" app:flow_horizontalGap="@dimen/user_switcher_fullscreen_horizontal_gap" app:flow_verticalGap="44dp" app:flow_horizontalStyle="packed"/>