From a185b4361617f4ebef77a815a5842dd92ca54100 Mon Sep 17 00:00:00 2001 From: Andreea Costinas Date: Fri, 7 Feb 2025 13:45:30 +0000 Subject: [PATCH] Ensure certificate alias is always visible If the user credentials dialog displays multiple elements (e.g. if the certificate is used by a wifi configuration), the content size exceedes the available space. Currently, the alias text view is the only element which declares a `layout_weight`. The LinearLayout failes to distribute the space correctly, pushing it beyond the bounds. Bug: 287533409 Flag: EXEMPT bugfix Test: manual Change-Id: Ieff1b3011080dabf823c7689a3781c6e52b9791d --- res/layout/user_credential.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/res/layout/user_credential.xml b/res/layout/user_credential.xml index adf26800746..b249795db9d 100644 --- a/res/layout/user_credential.xml +++ b/res/layout/user_credential.xml @@ -22,7 +22,6 @@ android:id="@+id/alias" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_weight="1" android:textAppearance="?android:attr/textAppearanceMedium" />