From ca30fef579f011d545132c151aeafdf6f843a3de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hakk=C4=B1=20Kaan=20=C3=87al=C4=B1=C5=9Fkan?= Date: Mon, 13 Jul 2020 14:16:28 +0300 Subject: [PATCH] For #12106: Follow ux mock on Settings --> Logins screen --- app/src/main/res/layout/logins_item.xml | 50 +++++++++++---------- app/src/main/res/xml/logins_preferences.xml | 15 +++---- 2 files changed, 31 insertions(+), 34 deletions(-) diff --git a/app/src/main/res/layout/logins_item.xml b/app/src/main/res/layout/logins_item.xml index 14f25e3af..6a311748a 100644 --- a/app/src/main/res/layout/logins_item.xml +++ b/app/src/main/res/layout/logins_item.xml @@ -1,11 +1,8 @@ - - - - + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent"> + + @@ -51,16 +55,14 @@ android:id="@+id/usernameView" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginEnd="12dp" - android:layout_weight="1" + android:layout_marginStart="16dp" + android:layout_marginEnd="48dp" android:ellipsize="middle" - android:paddingStart="?android:attr/listPreferredItemPaddingStart" - android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:singleLine="true" android:textColor="?secondaryText" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toEndOf="@+id/favicon_image" + app:layout_constraintStart_toEndOf="@+id/favicon_wrapper" app:layout_constraintTop_toBottomOf="@id/webAddressView" app:layout_constraintVertical_chainStyle="packed" tools:text="mozilla.org" /> diff --git a/app/src/main/res/xml/logins_preferences.xml b/app/src/main/res/xml/logins_preferences.xml index 118905d43..f71114007 100644 --- a/app/src/main/res/xml/logins_preferences.xml +++ b/app/src/main/res/xml/logins_preferences.xml @@ -2,25 +2,20 @@ - - + - - - +