mirror of https://github.com/M66B/FairEmail.git
750 lines
33 KiB
XML
750 lines
33 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
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"
|
|
android:padding="12dp"
|
|
android:scrollbarStyle="outsideOverlay"
|
|
tools:context="eu.faircode.email.ActivitySetup">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
android:id="@+id/tvLayoutHint"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
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"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<Button
|
|
android:id="@+id/btnTheme"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:minWidth="0dp"
|
|
android:minHeight="0dp"
|
|
android:text="@string/title_setup_theme"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvLayoutHint" />
|
|
|
|
<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" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
android:id="@+id/tvStartup"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="48dp"
|
|
android:text="@string/title_advanced_startup"
|
|
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/swLandscape3" />
|
|
|
|
<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" />
|
|
|
|
<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" />
|
|
|
|
<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"
|
|
app:layout_constraintTop_toBottomOf="@id/swIndentation"
|
|
app:switchPadding="12dp" />
|
|
|
|
<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" />
|
|
|
|
<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"
|
|
app:switchPadding="12dp" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
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"
|
|
app:layout_constraintTop_toBottomOf="@id/tvThreadingHint"
|
|
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" />
|
|
|
|
<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"
|
|
app:switchPadding="12dp" />
|
|
|
|
<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" />
|
|
|
|
<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" />
|
|
|
|
<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"
|
|
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"
|
|
app:layout_constraintTop_toBottomOf="@id/swIdenticons"
|
|
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" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
android:id="@+id/tvSaturation"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
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"
|
|
android:progress="100"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvSaturation" />
|
|
|
|
<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"
|
|
android:progress="100"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvBrightness" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
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" />
|
|
|
|
<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"
|
|
app:layout_constraintTop_toBottomOf="@id/sbThreshold"
|
|
app:switchPadding="12dp" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
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" />
|
|
|
|
<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" />
|
|
|
|
<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"
|
|
app:layout_constraintTop_toBottomOf="@id/swPreferContact"
|
|
app:switchPadding="12dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/ivAuth"
|
|
android:layout_width="21dp"
|
|
android:layout_height="21dp"
|
|
android:contentDescription="@string/title_legend_auth"
|
|
android:tint="?attr/colorWarning"
|
|
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"
|
|
app:layout_constraintTop_toBottomOf="@id/swDistinguishContacts"
|
|
app:switchPadding="12dp" />
|
|
|
|
<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" />
|
|
|
|
<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"
|
|
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/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" />
|
|
|
|
<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"
|
|
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" />
|
|
|
|
<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"
|
|
app:layout_constraintTop_toBottomOf="@id/spFontSizeSubject"
|
|
app:switchPadding="12dp" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
android:id="@+id/tvSubjectEllipsize"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/title_advanced_subject_elipsed"
|
|
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/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" />
|
|
|
|
<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"
|
|
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" />
|
|
|
|
<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"
|
|
app:switchPadding="12dp" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
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" />
|
|
|
|
<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"
|
|
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" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
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" />
|
|
|
|
<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"
|
|
app:layout_constraintTop_toBottomOf="@id/tvPreviewIssue"
|
|
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
|
|
android:id="@+id/swTextColor"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:enabled="true"
|
|
android:text="@string/title_advanced_text_color"
|
|
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" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/swCollapseQuotes"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/title_advanced_collapse_quotes"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/swTextSize"
|
|
app:switchPadding="12dp" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/swImagesInline"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/title_advanced_images_inline"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/swCollapseQuotes"
|
|
app:switchPadding="12dp" />
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
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" />
|
|
|
|
<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"
|
|
app:layout_constraintTop_toBottomOf="@id/tvImagesInlineHint"
|
|
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" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</ScrollView>
|