diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java
index d268ab94..e07dcc2a 100644
--- a/app/src/main/java/eu/faircode/email/FragmentAccount.java
+++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java
@@ -92,8 +92,8 @@ public class FragmentAccount extends Fragment {
providers.add(0, new Provider(getString(R.string.title_custom)));
// Get controls
- etName = view.findViewById(R.id.etName);
spProfile = view.findViewById(R.id.spProvider);
+ etName = view.findViewById(R.id.etName);
etHost = view.findViewById(R.id.etHost);
etPort = view.findViewById(R.id.etPort);
etUser = view.findViewById(R.id.etUser);
diff --git a/app/src/main/res/layout/fragment_account.xml b/app/src/main/res/layout/fragment_account.xml
index 1fdc1d77..9b659957 100644
--- a/app/src/main/res/layout/fragment_account.xml
+++ b/app/src/main/res/layout/fragment_account.xml
@@ -12,45 +12,45 @@
android:layout_height="match_parent"
android:padding="12dp">
-
+
-
+ app:layout_constraintTop_toBottomOf="@id/tvProvider" />
-
+
+ app:layout_constraintTop_toBottomOf="@id/spProvider" />
-
+ app:layout_constraintTop_toBottomOf="@id/tvName" />
@@ -62,7 +62,7 @@
android:text="@string/title_imap"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/spProvider" />
+ app:layout_constraintTop_toBottomOf="@id/etName" />