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">