From ae35bce828ae9eaf464933cc745f090994cc1fcf Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 8 Apr 2024 15:44:34 +0200 Subject: [PATCH] give port input field a little more space --- src/main/res/layout/activity_edit_account.xml | 63 +++++++++---------- 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml index 99cd61e96..76c8deff0 100644 --- a/src/main/res/layout/activity_edit_account.xml +++ b/src/main/res/layout/activity_edit_account.xml @@ -83,6 +83,7 @@ android:id="@+id/account_password_layout" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginTop="4sp" android:hint="@string/password" app:endIconMode="password_toggle"> @@ -97,50 +98,42 @@ android:id="@+id/name_port" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:layout_marginTop="8dp" + android:layout_marginTop="8sp" android:orientation="horizontal" android:weightSum="1"> - + android:layout_height="wrap_content" + android:layout_weight="0.7" + android:layout_marginEnd="4sp" + android:hint="@string/account_settings_hostname"> - + android:inputType="textWebEmailAddress" /> + - - - - + android:layout_height="wrap_content" + android:layout_weight="0.3" + android:layout_marginStart="4sp" + android:hint="@string/account_settings_port"> - - - - - + android:layout_height="match_parent" + android:inputType="number" + android:maxLength="5" /> + + android:layout_marginBottom="16dp" + android:gravity="end">