From fa3c42d1d9830a0ff08d8554266f0411e13e3639 Mon Sep 17 00:00:00 2001 From: Ashish Yadav <48384865+criticalAY@users.noreply.github.com> Date: Wed, 3 Apr 2024 21:28:29 +0530 Subject: [PATCH] fix: unnecessary padding in my_account input layout --- AnkiDroid/src/main/res/layout/my_account.xml | 9 ++++----- AnkiDroid/src/main/res/values/dimens.xml | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AnkiDroid/src/main/res/layout/my_account.xml b/AnkiDroid/src/main/res/layout/my_account.xml index b75e00fdbee1..c433b5ed2928 100644 --- a/AnkiDroid/src/main/res/layout/my_account.xml +++ b/AnkiDroid/src/main/res/layout/my_account.xml @@ -31,10 +31,9 @@ android:id="@+id/ankidroid_logo" android:layout_width="200dp" app:srcCompat="@drawable/ankidroid_logo" - android:layout_marginBottom="0dp" + android:layout_marginBottom="@dimen/input_layout_padding" android:layout_gravity="center" - android:layout_height="200dp" - /> + android:layout_height="200dp" /> @@ -55,7 +54,7 @@ android:hint="@string/username" app:endIconMode="clear_text" app:errorEnabled="true" - android:layout_margin="@dimen/content_vertical_padding"> + android:layout_marginHorizontal="@dimen/input_layout_padding"> + android:layout_marginHorizontal="@dimen/input_layout_padding"> 24dp 16dp 8dp + 8dp 16dp