From 222a16b963de591d25bb4d90814f399d2c5d0375 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 3 Aug 2018 16:00:06 +0000 Subject: [PATCH] Layout improvement --- .../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 e07dcc2a..d268ab94 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 - spProfile = view.findViewById(R.id.spProvider); etName = view.findViewById(R.id.etName); + spProfile = view.findViewById(R.id.spProvider); 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 9b659957..1fdc1d77 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/tvName" /> - + + app:layout_constraintTop_toBottomOf="@id/etName" /> - + app:layout_constraintTop_toBottomOf="@id/tvProvider" /> @@ -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/etName" /> + app:layout_constraintTop_toBottomOf="@id/spProvider" />