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

1036 lines
46 KiB
XML
Raw Normal View History

2019-05-06 07:10:13 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-04-12 15:45:20 +00:00
<eu.faircode.email.ScrollViewEx 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"
2020-06-13 07:42:54 +00:00
android:id="@+id/scroll"
2019-05-06 07:10:13 +00:00
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"
2020-03-04 07:56:13 +00:00
android:layout_height="wrap_content"
android:paddingBottom="24dp">
2019-09-14 10:16:26 +00:00
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2020-03-10 07:48:54 +00:00
android:id="@+id/tvCaptionGeneral"
2019-10-02 08:36:33 +00:00
android:layout_width="0dp"
android:layout_height="wrap_content"
2019-10-29 17:02:27 +00:00
android:layout_marginTop="12dp"
2020-03-10 07:48:54 +00:00
android:gravity="center"
android:text="@string/title_advanced_caption_general"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
2019-10-02 08:36:33 +00:00
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
<eu.faircode.email.FixedTextView
2020-03-10 07:48:54 +00:00
android:id="@+id/tvLayoutHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
2020-03-10 07:48:54 +00:00
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"
2020-03-10 07:48:54 +00:00
app:layout_constraintTop_toBottomOf="@id/tvCaptionGeneral" />
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:text="@string/title_setup_theme"
app:layout_constraintStart_toStartOf="parent"
2020-03-10 07:48:54 +00:00
app:layout_constraintTop_toBottomOf="@id/tvLayoutHint" />
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/btnTheme" />
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" />
2020-03-10 10:59:25 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvStartupHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
2020-03-10 11:01:15 +00:00
android:layout_marginTop="6dp"
2020-03-10 10:59:25 +00:00
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_startup_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/spStartup" />
2019-09-14 10:16:26 +00:00
<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"
2020-03-10 10:59:25 +00:00
app:layout_constraintTop_toBottomOf="@id/tvStartupHint"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2019-10-20 07:16:45 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swDate"
2019-10-20 07:16:45 +00:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_date_header"
2019-10-20 07:16:45 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swCards"
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/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/tvDateHint"
app:switchPadding="12dp" />
2020-03-08 20:29:46 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvNavBarColorizeHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_navbar_colorize_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/swNavBarColorize" />
2020-07-01 10:21:42 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swPortrait2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_portrait2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvNavBarColorizeHint"
app:switchPadding="12dp" />
2019-09-14 10:16:26 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swLandscape"
2019-09-14 10:16:26 +00:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_advanced_landscape"
2019-09-14 10:16:26 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-07-01 10:21:42 +00:00
app:layout_constraintTop_toBottomOf="@id/swPortrait2"
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"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
<!-- conversation -->
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvCaptionConversation"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
2020-03-10 07:48:54 +00:00
android:gravity="center"
android:text="@string/title_advanced_caption_conversation"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/swLandscape3" />
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/tvCaptionConversation"
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/swThreadingUnread"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_threading_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/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/swThreadingUnread"
app:switchPadding="12dp" />
2020-03-11 08:25:45 +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"
app:layout_constraintTop_toBottomOf="@id/swIndentation"
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"
2020-03-11 08:25:45 +00:00
app:layout_constraintTop_toBottomOf="@id/swSeekbar"
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swActionbarColor"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_actionbar_color"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swActionbar"
app:switchPadding="12dp" />
<!-- message -->
<eu.faircode.email.FixedTextView
2020-03-11 08:25:45 +00:00
android:id="@+id/tvCaptionHeader"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
2020-03-10 07:48:54 +00:00
android:gravity="center"
2020-03-11 08:25:45 +00:00
android:text="@string/title_advanced_caption_message_header"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/swActionbarColor" />
2019-09-14 10:16:26 +00:00
<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"
2020-03-11 08:25:45 +00:00
app:layout_constraintTop_toBottomOf="@id/tvCaptionHeader"
2019-09-14 10:16:26 +00:00
app:switchPadding="12dp" />
2020-04-14 13:19:30 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvHighlightUnreadHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_highlight_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/swHighlightUnread" />
<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"
2020-04-14 13:19:30 +00:00
app:layout_constraintTop_toBottomOf="@id/tvHighlightUnreadHint"
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"
2020-07-01 09:35:04 +00:00
android:textColor="?attr/colorWarning"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swGravatars" />
2020-06-30 09:19:17 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swFavicons"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_favicons"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvGravatarsHint"
app:switchPadding="12dp" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvFaviconsHint"
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="?attr/colorWarning"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swFavicons" />
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"
2020-06-30 09:19:17 +00:00
app:layout_constraintTop_toBottomOf="@id/tvFaviconsHint"
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"
app:layout_constraintEnd_toStartOf="@+id/ivGreen"
app:layout_constraintStart_toStartOf="parent"
2020-05-02 09:48:44 +00:00
app:layout_constraintTop_toBottomOf="@id/swCircular"
app:srcCompat="@drawable/baseline_person_24" />
<ImageView
android:id="@+id/ivGreen"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginTop="12dp"
app:layout_constraintEnd_toStartOf="@+id/ivBlue"
app:layout_constraintStart_toEndOf="@id/ivRed"
2020-05-02 09:48:44 +00:00
app:layout_constraintTop_toBottomOf="@id/swCircular"
app:srcCompat="@drawable/baseline_person_24" />
<ImageView
android:id="@+id/ivBlue"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginTop="12dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/ivGreen"
2020-05-02 09:48:44 +00:00
app:layout_constraintTop_toBottomOf="@id/swCircular"
app:srcCompat="@drawable/baseline_person_24" />
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: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: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-11-18 09:39:32 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swShowRecipients"
2019-11-18 09:39:32 +00:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_show_recipients"
2019-11-18 09:39:32 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-03-23 14:48:13 +00:00
app:layout_constraintTop_toBottomOf="@id/swDistinguishContacts"
2019-11-18 09:39:32 +00:00
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:text="@string/title_advanced_subject_top"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swShowRecipients"
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-03-22 17:43:22 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swHighlightSubject"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_highlight_subject"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swSubjectItalic"
app:switchPadding="12dp" />
2020-04-14 13:19:30 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvHighlightSubjectHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_highlight_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/swHighlightSubject" />
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"
2020-04-14 13:19:30 +00:00
app:layout_constraintTop_toBottomOf="@id/tvHighlightSubjectHint" />
2019-09-14 10:16:26 +00:00
<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" />
2020-06-25 07:14:05 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swLabels"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_labels"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swKeywords"
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"
2020-06-25 07:14:05 +00:00
app:layout_constraintTop_toBottomOf="@id/swLabels"
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" />
2020-03-11 08:25:45 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvCaptionBody"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:gravity="center"
android:text="@string/title_advanced_caption_message_body"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-03-23 14:48:13 +00:00
app:layout_constraintTop_toBottomOf="@+id/tvPreviewIssue" />
<androidx.appcompat.widget.SwitchCompat
2020-03-23 15:13:57 +00:00
android:id="@+id/swAddresses"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
2020-03-23 15:13:57 +00:00
android:text="@string/title_advanced_addresses"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvCaptionBody"
app:switchPadding="12dp" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvMessageZoom"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_message_text_zoom"
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/swAddresses" />
<eu.faircode.email.EditTextPlain
android:id="@+id/etMessageZoom"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:hint="100"
android:inputType="number"
android:maxLength="3"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvMessageZoom" />
2019-09-14 10:16:26 +00:00
<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/etMessageZoom"
2019-09-14 10:16:26 +00:00
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" />
2020-06-28 13:59:02 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swTextFont"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:enabled="true"
android:text="@string/title_advanced_text_font"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swTextSize"
app:switchPadding="12dp" />
2020-05-03 17:29:02 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swTextAlign"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:enabled="true"
android:text="@string/title_advanced_text_align"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2020-06-28 13:59:02 +00:00
app:layout_constraintTop_toBottomOf="@id/swTextFont"
2020-05-03 17:29:02 +00:00
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"
2020-05-03 17:29:02 +00:00
app:layout_constraintTop_toBottomOf="@id/swTextAlign"
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" />
2020-03-22 17:43:22 +00:00
<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/tvImagesInlineHint"
app:switchPadding="12dp" />
2020-03-23 14:48:13 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swThumbnails"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:enabled="true"
android:text="@string/title_advanced_thumbnails"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swAttachmentsAlt"
app:switchPadding="12dp" />
2020-03-23 14:48:13 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvAdvanced"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:gravity="center"
android:text="@string/title_advanced_advanced"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swThumbnails" />
2020-03-23 14:48:13 +00:00
2020-04-22 10:10:30 +00:00
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swParseClasses"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_advanced_parse_classes"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvAdvanced"
app:switchPadding="12dp" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvParseClassesHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_parse_classes_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/swParseClasses" />
2020-03-23 14:48:13 +00:00
<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"
2020-04-22 10:10:30 +00:00
app:layout_constraintTop_toBottomOf="@id/tvParseClassesHint"
2020-03-23 14:48:13 +00:00
app:switchPadding="12dp" />
2019-09-14 10:16:26 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
2020-04-12 15:45:20 +00:00
</eu.faircode.email.ScrollViewEx>