From 1e04d22ad5234b6263a081755a9659b4f7b9351d Mon Sep 17 00:00:00 2001 From: Hasib Prince Date: Fri, 28 Jun 2024 10:26:56 +0600 Subject: [PATCH] fix: login button alignment --- app/src/main/res/layout/custom_preference.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/custom_preference.xml b/app/src/main/res/layout/custom_preference.xml index 82bf3613e..7f794d1d3 100644 --- a/app/src/main/res/layout/custom_preference.xml +++ b/app/src/main/res/layout/custom_preference.xml @@ -34,7 +34,7 @@ + android:layout_marginBottom="12dp"> @@ -109,11 +109,12 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="16dp" + android:layout_marginTop="5dp" android:text="@string/logout" android:textSize="14sp" - app:layout_constraintBottom_toBottomOf="@id/avatar" + app:layout_constraintTop_toBottomOf="@+id/avatar" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="@id/avatar" /> + /> -- GitLab