From 31c6ca23419a4caba9ed5ed70b81e50aefb6ec06 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Wed, 25 Jan 2023 12:16:36 -0800 Subject: [PATCH] Fix squished user switcher text view. When keyboard is showing and display size is high, the user text view is squished. I made a one line change here such that the parent view can respect the size the of the text view. Fixes: 264820084 Test: set security method to password set various display sizes to see how it looks in the bouncer for tablet. Change-Id: Ib4f0f5768927422426601eb30a936b7908f8ac21 --- .../res-keyguard/layout/keyguard_bouncer_user_switcher.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/res-keyguard/layout/keyguard_bouncer_user_switcher.xml b/packages/SystemUI/res-keyguard/layout/keyguard_bouncer_user_switcher.xml index 2cac9c706fe90..90851e2a921c6 100644 --- a/packages/SystemUI/res-keyguard/layout/keyguard_bouncer_user_switcher.xml +++ b/packages/SystemUI/res-keyguard/layout/keyguard_bouncer_user_switcher.xml @@ -45,7 +45,7 @@ android:id="@+id/user_switcher_header" android:textDirection="locale" android:layout_width="@dimen/bouncer_user_switcher_width" - android:layout_height="wrap_content" /> + android:layout_height="match_parent" />