FairEmail/app/src/main/res/layout/fragment_options_display.xml

753 lines
34 KiB
XML
Raw Normal View History

2019-05-06 07:10:13 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-09-14 10:16:26 +00:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2019-05-06 07:10:13 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-03-03 15:25:29 +00:00
android:paddingStart="6dp"
android:paddingTop="12dp"
android:paddingEnd="6dp"
android:paddingBottom="0dp"
2019-09-14 10:16:26 +00:00
android:scrollbarStyle="outsideOverlay"
2019-12-03 07:45:26 +00:00
tools:context="eu.faircode.email.ActivitySetup">
2019-05-06 07:10:13 +00:00
2019-09-14 10:16:26 +00:00
<androidx.constraintlayout.widget.ConstraintLayout
2019-05-06 07:10:13 +00:00
android:layout_width="match_parent"
2019-09-14 10:16:26 +00:00
android:layout_height="wrap_content">
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-10-02 08:36:33 +00:00
android:id="@+id/tvLayoutHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
2019-10-29 17:02:27 +00:00
android:layout_marginTop="12dp"
2019-10-02 08:36:33 +00:00
android:text="@string/title_advanced_layout_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-01-04 16:29:28 +00:00
app:layout_constraintTop_toTopOf="parent" />
2019-10-02 08:36:33 +00:00
2019-09-14 10:16:26 +00:00
<Button
android:id="@+id/btnTheme"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-10-02 08:36:33 +00:00
android:layout_marginTop="12dp"
2019-09-14 10:16:26 +00:00
android:minWidth="0dp"
android:minHeight="0dp"
android:text="@string/title_setup_theme"
app:layout_constraintStart_toStartOf="parent"
2019-10-02 08:36:33 +00:00
app:layout_constraintTop_toBottomOf="@id/tvLayoutHint" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swLandscape"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_landscape"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnTheme"
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swLandscape3"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_landscape3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swLandscape"
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-09-14 10:16:26 +00:00
android:id="@+id/tvStartup"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginEnd="48dp"
2019-09-14 10:16:26 +00:00
android:text="@string/title_advanced_startup"
2019-12-10 13:22:07 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Small"
2019-09-14 10:16:26 +00:00
android:textColor="?android:attr/textColorPrimary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swLandscape3" />
2019-09-14 10:16:26 +00:00
<Spinner
android:id="@+id/spStartup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:entries="@array/startupNames"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvStartup" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swCards"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_cards"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spStartup"
app:switchPadding="12dp" />
2019-10-20 07:16:45 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swIndentation"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_indentation"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swCards"
app:switchPadding="12dp" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swDate"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_date_header"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-10-20 07:16:45 +00:00
app:layout_constraintTop_toBottomOf="@id/swIndentation"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvDateHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_date_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swDate" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swThreading"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_threading"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvDateHint"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-09-14 10:16:26 +00:00
android:id="@+id/tvThreadingHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_threading_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swThreading" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swHighlightUnread"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_highlight_unread"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-10-20 07:16:45 +00:00
app:layout_constraintTop_toBottomOf="@id/tvThreadingHint"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swColorStripe"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:enabled="true"
android:text="@string/title_advanced_color_stripe"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swHighlightUnread"
app:switchPadding="12dp" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swAvatars"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_avatars"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swColorStripe"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2020-01-17 15:59:29 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swGravatars"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_gravatars"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swAvatars"
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvGravatarsHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_gravatars_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorLink"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swGravatars" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swGeneratedIcons"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_generated_icons"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvGravatarsHint"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swIdenticons"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_identicons"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swGeneratedIcons"
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swCircular"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_circular"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-01-24 15:39:21 +00:00
app:layout_constraintTop_toBottomOf="@id/swIdenticons"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
<ImageView
android:id="@+id/ivRed"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginTop="12dp"
android:src="@drawable/baseline_person_24"
app:layout_constraintEnd_toStartOf="@+id/ivGreen"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swCircular" />
<ImageView
android:id="@+id/ivGreen"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginTop="12dp"
android:src="@drawable/baseline_person_24"
app:layout_constraintEnd_toStartOf="@+id/ivBlue"
app:layout_constraintStart_toEndOf="@id/ivRed"
app:layout_constraintTop_toBottomOf="@id/swCircular" />
<ImageView
android:id="@+id/ivBlue"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginTop="12dp"
android:src="@drawable/baseline_person_24"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/ivGreen"
app:layout_constraintTop_toBottomOf="@id/swCircular" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvSaturation"
android:layout_width="0dp"
android:layout_height="wrap_content"
2019-10-13 11:54:18 +00:00
android:layout_marginTop="12dp"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_color_saturation"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivRed" />
<SeekBar
android:id="@+id/sbSaturation"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:max="100"
android:min="0"
2019-10-14 08:51:58 +00:00
android:progress="100"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvSaturation" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvBrightness"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_color_value"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/sbSaturation" />
<SeekBar
android:id="@+id/sbBrightness"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:max="100"
android:min="0"
2019-10-14 08:51:58 +00:00
android:progress="100"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvBrightness" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-10-14 08:51:58 +00:00
android:id="@+id/tvThreshold"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_color_threshold"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/sbBrightness" />
<SeekBar
android:id="@+id/sbThreshold"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:max="100"
android:min="0"
android:progress="50"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvThreshold" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swNameEmail"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_name_email"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-10-14 08:51:58 +00:00
app:layout_constraintTop_toBottomOf="@id/sbThreshold"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-09-14 10:16:26 +00:00
android:id="@+id/tvNameEmailHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_name_email_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swNameEmail" />
2020-02-09 10:37:16 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swPreferContact"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_replace_name"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvNameEmailHint"
app:switchPadding="12dp" />
2019-10-03 08:19:27 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swDistinguishContacts"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_distinguish_contacts"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-02-09 10:37:16 +00:00
app:layout_constraintTop_toBottomOf="@id/swPreferContact"
2019-10-03 08:19:27 +00:00
app:switchPadding="12dp" />
2019-09-14 10:16:26 +00:00
<ImageView
android:id="@+id/ivAuth"
android:layout_width="21dp"
android:layout_height="21dp"
android:contentDescription="@string/title_legend_auth"
2019-12-26 13:45:04 +00:00
android:tint="?attr/colorWarning"
2019-09-14 10:16:26 +00:00
app:layout_constraintBottom_toBottomOf="@+id/swAuthentication"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/swAuthentication"
app:srcCompat="@drawable/baseline_flag_24" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swAuthentication"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_authentication"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/ivAuth"
2019-10-03 08:19:27 +00:00
app:layout_constraintTop_toBottomOf="@id/swDistinguishContacts"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2019-11-18 09:39:32 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swSubjectTop"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_subject_top"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swAuthentication"
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvFontSizeSender"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_font_size_sender"
2019-12-10 13:22:07 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-11-18 09:39:32 +00:00
app:layout_constraintTop_toBottomOf="@id/swSubjectTop" />
<Spinner
android:id="@+id/spFontSizeSender"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:entries="@array/fontSizeNames"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvFontSizeSender" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvFontSizeSubject"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_font_size_subject"
2019-12-10 13:22:07 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spFontSizeSender" />
<Spinner
android:id="@+id/spFontSizeSubject"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:entries="@array/fontSizeNames"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvFontSizeSubject" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swSubjectItalic"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_subject_italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-11-18 09:39:32 +00:00
app:layout_constraintTop_toBottomOf="@id/spFontSizeSubject"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-09-14 10:16:26 +00:00
android:id="@+id/tvSubjectEllipsize"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_subject_elipsed"
2019-12-10 13:22:07 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Small"
2019-09-14 10:16:26 +00:00
android:textColor="?android:attr/textColorPrimary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swSubjectItalic" />
<Spinner
android:id="@+id/spSubjectEllipsize"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:entries="@array/ellipsizeNames"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvSubjectEllipsize" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swKeywords"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_keywords"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spSubjectEllipsize"
app:switchPadding="12dp" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swFlags"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_flags"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swKeywords"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swFlagsBackground"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_flags_background"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swFlags"
app:switchPadding="12dp" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swPreview"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_preview"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swFlagsBackground"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-09-14 10:16:26 +00:00
android:id="@+id/tvPreviewHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_preview_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swPreview" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swPreviewItalic"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_preview_italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvPreviewHint"
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvPreviewLines"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_preview_lines"
2019-12-10 13:22:07 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorPrimary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swPreviewItalic" />
<Spinner
android:id="@+id/spPreviewLines"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:entries="@array/linesNames"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvPreviewLines" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2020-01-26 13:42:46 +00:00
android:id="@+id/tvPreviewIssue"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_preview_issue"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/spPreviewLines" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swAddresses"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_addresses"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-01-26 13:42:46 +00:00
app:layout_constraintTop_toBottomOf="@id/tvPreviewIssue"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swAttachmentsAlt"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_attachments_alt"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swAddresses"
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swContrast"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_contrast"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swAttachmentsAlt"
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swMonospaced"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_monospaced"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swContrast"
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
2019-09-23 18:13:38 +00:00
android:id="@+id/swTextColor"
2019-09-14 10:16:26 +00:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
2019-09-23 18:13:38 +00:00
android:enabled="true"
android:text="@string/title_advanced_text_color"
2019-09-14 10:16:26 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swMonospaced"
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swTextSize"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:enabled="true"
android:text="@string/title_advanced_text_size"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swTextColor"
app:switchPadding="12dp" />
2019-09-23 18:13:38 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swCollapseQuotes"
2019-09-14 10:16:26 +00:00
android:layout_width="0dp"
android:layout_height="wrap_content"
2019-09-23 18:13:38 +00:00
android:layout_marginTop="12dp"
android:text="@string/title_advanced_collapse_quotes"
2019-09-14 10:16:26 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swTextSize"
2019-09-23 18:13:38 +00:00
app:switchPadding="12dp" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
2019-09-23 18:13:38 +00:00
android:id="@+id/swImagesInline"
2019-09-14 10:16:26 +00:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
2019-09-23 18:13:38 +00:00
android:text="@string/title_advanced_images_inline"
2019-09-14 10:16:26 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-09-23 18:13:38 +00:00
app:layout_constraintTop_toBottomOf="@id/swCollapseQuotes"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-09-23 18:13:38 +00:00
android:id="@+id/tvImagesInlineHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_inline_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swImagesInline" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swSeekbar"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_seekbar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2019-10-05 09:16:36 +00:00
app:layout_constraintTop_toBottomOf="@id/tvImagesInlineHint"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swActionbar"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_actionbar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swSeekbar"
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swNavBarColorize"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_navbar_colorize"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swActionbar"
app:switchPadding="12dp" />
2019-09-14 10:16:26 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>