give port input field a little more space

This commit is contained in:
Daniel Gultsch 2024-04-08 15:44:34 +02:00
parent b752508adb
commit ae35bce828
No known key found for this signature in database
GPG key ID: F43D18AD2A0982C2

View file

@ -83,6 +83,7 @@
android:id="@+id/account_password_layout" android:id="@+id/account_password_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="4sp"
android:hint="@string/password" android:hint="@string/password"
app:endIconMode="password_toggle"> app:endIconMode="password_toggle">
@ -97,20 +98,17 @@
android:id="@+id/name_port" android:id="@+id/name_port"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8sp"
android:orientation="horizontal" android:orientation="horizontal"
android:weightSum="1"> android:weightSum="1">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="0.8"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/hostname_layout" android:id="@+id/hostname_layout"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.7"
android:layout_marginEnd="4sp"
android:hint="@string/account_settings_hostname"> android:hint="@string/account_settings_hostname">
<EditText <EditText
@ -119,18 +117,14 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="textWebEmailAddress" /> android:inputType="textWebEmailAddress" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="0.2"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/port_layout" android:id="@+id/port_layout"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.3"
android:layout_marginStart="4sp"
android:hint="@string/account_settings_port"> android:hint="@string/account_settings_port">
<EditText <EditText
@ -141,7 +135,6 @@
android:maxLength="5" /> android:maxLength="5" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
</LinearLayout> </LinearLayout>
</LinearLayout>
<CheckBox <CheckBox
android:id="@+id/account_register_new" android:id="@+id/account_register_new"
@ -194,9 +187,9 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="end" android:layout_gravity="end"
android:gravity="end"
android:layout_marginHorizontal="16dp" android:layout_marginHorizontal="16dp"
android:layout_marginBottom="16dp"> android:layout_marginBottom="16dp"
android:gravity="end">
<Button <Button
android:id="@+id/os_optimization_disable" android:id="@+id/os_optimization_disable"