Revert "Layout improvement"

This reverts commit 222a16b963.
pull/12/merge
M66B 6 years ago
parent 5f77582bec
commit 0a1759b198

@ -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);

@ -12,45 +12,45 @@
android:layout_height="match_parent"
android:padding="12dp">
<!-- name -->
<!-- provider -->
<TextView
android:id="@+id/tvName"
android:id="@+id/tvProvider"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_account_name"
android:text="@string/title_provider"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<EditText
android:id="@+id/etName"
android:layout_width="match_parent"
<Spinner
android:id="@+id/spProvider"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/title_account_name_hint"
android:inputType="text"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvName" />
app:layout_constraintTop_toBottomOf="@id/tvProvider" />
<!-- provider -->
<!-- name -->
<TextView
android:id="@+id/tvProvider"
android:id="@+id/tvName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_provider"
android:text="@string/title_account_name"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/etName" />
app:layout_constraintTop_toBottomOf="@id/spProvider" />
<Spinner
android:id="@+id/spProvider"
android:layout_width="wrap_content"
<EditText
android:id="@+id/etName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/title_account_name_hint"
android:inputType="text"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvProvider" />
app:layout_constraintTop_toBottomOf="@id/tvName" />
<!-- IMAP -->
@ -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" />
<!-- host -->

Loading…
Cancel
Save