1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Better safe than sorry

This commit is contained in:
M66B 2019-10-20 17:06:49 +02:00
parent f6f490471f
commit 445c86f0ac

View file

@ -1,95 +1,100 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="24dp"> android:padding="24dp">
<TextView <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/tvCaption"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="match_parent">
android:labelFor="@+id/etLink"
android:text="@string/title_apply_to_all"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView <TextView
android:id="@+id/tvUser" android:id="@+id/tvCaption"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="12dp" android:labelFor="@+id/etLink"
android:text="@string/title_folder_user" android:text="@string/title_apply_to_all"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Large"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvCaption" /> app:layout_constraintTop_toTopOf="parent" />
<CheckBox <TextView
android:id="@+id/cbPoll" android:id="@+id/tvUser"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:text="@string/title_poll_folder" android:text="@string/title_folder_user"
app:layout_constraintStart_toStartOf="parent" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintTop_toBottomOf="@id/tvUser" /> app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvCaption" />
<CheckBox <CheckBox
android:id="@+id/cbDownload" android:id="@+id/cbPoll"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:text="@string/title_download_folder" android:text="@string/title_poll_folder"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbPoll" /> app:layout_constraintTop_toBottomOf="@id/tvUser" />
<TextView <CheckBox
android:id="@+id/tvSyncDays" android:id="@+id/cbDownload"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:text="@string/title_sync_days" android:text="@string/title_download_folder"
android:textAppearance="@style/TextAppearance.AppCompat.Small" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/cbPoll" />
app:layout_constraintTop_toBottomOf="@id/cbDownload" />
<EditText <TextView
android:id="@+id/etSyncDays" android:id="@+id/tvSyncDays"
android:layout_width="0dp" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="7" android:layout_marginTop="12dp"
android:inputType="number" android:text="@string/title_sync_days"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/cbDownload" />
app:layout_constraintTop_toBottomOf="@id/tvSyncDays" />
<TextView <EditText
android:id="@+id/tvKeepDays" android:id="@+id/etSyncDays"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="12dp" android:hint="7"
android:text="@string/title_keep_days" android:inputType="number"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/etSyncDays" /> app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvSyncDays" />
<EditText <TextView
android:id="@+id/etKeepDays" android:id="@+id/tvKeepDays"
android:layout_width="0dp" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="30" android:layout_marginTop="12dp"
android:inputType="number" android:text="@string/title_keep_days"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/etSyncDays" />
app:layout_constraintTop_toBottomOf="@id/tvKeepDays" />
<CheckBox <EditText
android:id="@+id/cbKeepAll" android:id="@+id/etKeepDays"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/title_keep_all" android:hint="30"
app:layout_constraintStart_toStartOf="parent" android:inputType="number"
app:layout_constraintTop_toBottomOf="@id/etKeepDays" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium"
</androidx.constraintlayout.widget.ConstraintLayout> app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvKeepDays" />
<CheckBox
android:id="@+id/cbKeepAll"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_keep_all"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/etKeepDays" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>