From 0a1759b198a322af57f6233f7de44c1181fbab3f Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 3 Aug 2018 16:22:21 +0000 Subject: [PATCH] Revert "Layout improvement" This reverts commit 222a16b963de591d25bb4d90814f399d2c5d0375. --- .../eu/faircode/email/FragmentAccount.java | 2 +- app/src/main/res/layout/fragment_account.xml | 38 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) 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" />