From de721a824f0155ad10eb92bcf723f847ffa62420 Mon Sep 17 00:00:00 2001 From: Titouan Date: Thu, 9 Feb 2023 19:45:08 +0100 Subject: [PATCH] [fenix] Bug 1812193 - Increase the height of the 'x' buttons of the login and password fields on the 'Add New Login' screen (https://github.com/mozilla-mobile/fenix/pull/28658) * Bug 1812193 - Increase the height of the 'x' button of the login and password fields on the 'Add New Login' screen. Also increase the height of the login and password fields to comply with the accessibility guidelines * Improve the layout of the AddLogin Fragment --------- Co-authored-by: Titouan Thibaud Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- .../main/res/layout/fragment_add_login.xml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/app/src/main/res/layout/fragment_add_login.xml b/app/src/main/res/layout/fragment_add_login.xml index c4dc213f8..d62c3c2fe 100644 --- a/app/src/main/res/layout/fragment_add_login.xml +++ b/app/src/main/res/layout/fragment_add_login.xml @@ -34,13 +34,13 @@ @@ -121,6 +122,7 @@ android:id="@+id/usernameText" android:layout_width="match_parent" android:layout_height="wrap_content" + android:minHeight="48dp" android:textSize="16sp" android:fontFamily="sans-serif" android:textStyle="normal" @@ -144,15 +146,14 @@ @@ -192,6 +193,7 @@ android:id="@+id/passwordText" android:layout_width="match_parent" android:layout_height="wrap_content" + android:minHeight="48dp" android:clickable="true" android:colorControlActivated="?attr/textPrimary" android:colorControlHighlight="?attr/textPrimary" @@ -215,9 +217,7 @@