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"
|
2021-05-12 06:45:56 +00:00
|
|
|
tools:context=".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
|
|
|
|
2021-01-24 20:17:48 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvDefault"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-12 06:45:56 +00:00
|
|
|
android:layout_marginHorizontal="3dp"
|
2021-02-11 08:03:28 +00:00
|
|
|
android:drawableStart="@drawable/twotone_support_24"
|
|
|
|
android:drawablePadding="6dp"
|
2021-02-11 15:43:57 +00:00
|
|
|
android:gravity="center_vertical"
|
2021-01-24 20:17:48 +00:00
|
|
|
android:text="@string/title_advanced_default"
|
2021-02-11 15:43:57 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2021-01-24 20:17:48 +00:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2021-05-12 06:45:56 +00:00
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/cardGeneral"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="3dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
app:cardBackgroundColor="?attr/colorCardBackground"
|
|
|
|
app:cardCornerRadius="6dp"
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDefault">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-23 19:03:12 +00:00
|
|
|
android:paddingHorizontal="6dp"
|
|
|
|
android:paddingVertical="12dp">
|
2021-05-12 06:45:56 +00:00
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvCaptionGeneral"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/title_advanced_caption_general"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<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_toBottomOf="@id/tvCaptionGeneral" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnTheme"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_setup_theme"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvLayoutHint" />
|
|
|
|
|
|
|
|
<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/btnTheme" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvStartupHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
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" />
|
|
|
|
|
|
|
|
<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/tvStartupHint"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swBeige"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_cards_beige"
|
|
|
|
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/tvBeigeHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_beige_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/swBeige" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swShadow"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_cards_shadow"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBeigeHint"
|
|
|
|
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/swShadow"
|
|
|
|
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" />
|
|
|
|
|
2021-05-16 15:17:48 +00:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swDateBold"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_date_bold"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDateHint"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
2021-05-12 06:45:56 +00:00
|
|
|
<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"
|
2021-05-16 15:17:48 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/swDateBold"
|
2021-05-12 06:45:56 +00:00
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swPortrait2"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
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" />
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvPortrait2Hint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_split_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/swPortrait2" />
|
|
|
|
|
|
|
|
<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/tvPortrait2Hint"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvLandscapeHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_split_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/swLandscape" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swLandscape3"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_landscape3"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvLandscapeHint"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/cardConversation"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="3dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
app:cardBackgroundColor="?attr/colorCardBackground"
|
|
|
|
app:cardCornerRadius="6dp"
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cardGeneral">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-23 19:03:12 +00:00
|
|
|
android:paddingHorizontal="6dp"
|
|
|
|
android:paddingVertical="12dp">
|
2021-05-12 06:45:56 +00:00
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvCaptionConversation"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
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_toTopOf="parent" />
|
|
|
|
|
|
|
|
<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"
|
|
|
|
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/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" />
|
|
|
|
|
|
|
|
<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"
|
|
|
|
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" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/cardMessage"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="3dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
app:cardBackgroundColor="?attr/colorCardBackground"
|
|
|
|
app:cardCornerRadius="6dp"
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cardConversation">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-23 19:03:12 +00:00
|
|
|
android:paddingHorizontal="6dp"
|
|
|
|
android:paddingVertical="12dp">
|
2021-05-12 06:45:56 +00:00
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvCaptionHeader"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
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_toTopOf="parent" />
|
|
|
|
|
|
|
|
<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/tvCaptionHeader"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<eu.faircode.email.ViewButtonColor
|
|
|
|
android:id="@+id/btnHighlightColor"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:paddingHorizontal="6dp"
|
|
|
|
android:text="@string/title_advanced_highlight_color"
|
|
|
|
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"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnHighlightColor"
|
|
|
|
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:drawableEnd="@drawable/twotone_open_in_new_12"
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
android:drawableTint="?android:attr/textColorLink"
|
|
|
|
android:text="@string/title_advanced_gravatars_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swGravatars" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<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/tvFaviconsHint"
|
|
|
|
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"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ivGreen"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swCircular"
|
|
|
|
app:srcCompat="@drawable/twotone_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"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swCircular"
|
|
|
|
app:srcCompat="@drawable/twotone_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"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swCircular"
|
|
|
|
app:srcCompat="@drawable/twotone_person_24" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
2021-06-06 10:10:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvNameEmail"
|
2021-05-12 06:45:56 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
2021-06-06 10:10:43 +00:00
|
|
|
android:layout_marginEnd="48dp"
|
2021-05-12 06:45:56 +00:00
|
|
|
android:text="@string/title_advanced_name_email"
|
2021-06-06 10:10:43 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2021-05-12 06:45:56 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-06-06 10:10:43 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/sbThreshold" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spNameEmail"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:entries="@array/addressFormatNames"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvNameEmail" />
|
2021-05-12 06:45:56 +00:00
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvNameEmailHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2021-06-06 10:10:43 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2021-05-12 06:45:56 +00:00
|
|
|
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"
|
2021-06-06 10:10:43 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/spNameEmail" />
|
2021-05-12 06:45:56 +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" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swOnlyContact"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_only_name"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swPreferContact"
|
|
|
|
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:text="@string/title_advanced_distinguish_contacts"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swOnlyContact"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swShowRecipients"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_show_recipients"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
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: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" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<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/tvHighlightSubjectHint" />
|
|
|
|
|
|
|
|
<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/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" />
|
|
|
|
|
|
|
|
<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/swLabels"
|
|
|
|
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/tvPreviewLinesHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_preview_lines_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/spPreviewLines" />
|
|
|
|
|
|
|
|
<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/tvPreviewLinesHint" />
|
2021-06-23 12:19:21 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpGravatars"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="swGravatars,tvGravatarsHint" />
|
2021-05-12 06:45:56 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/cardBody"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="3dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
app:cardBackgroundColor="?attr/colorCardBackground"
|
|
|
|
app:cardCornerRadius="6dp"
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cardMessage">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-23 19:03:12 +00:00
|
|
|
android:paddingHorizontal="6dp"
|
|
|
|
android:paddingVertical="12dp">
|
2021-05-12 06:45:56 +00:00
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvCaptionBody"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
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"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<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/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" />
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvMessageZoomPercentage"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="%"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etMessageZoom"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etMessageZoom"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/etMessageZoom" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swOverviewMode"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_overview_mode"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etMessageZoom"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvOverViewModeHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_overview_mode_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/swOverviewMode" />
|
|
|
|
|
|
|
|
<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/tvOverViewModeHint"
|
|
|
|
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/swMonospacedPre"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_monospaced_pre"
|
|
|
|
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/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/swMonospacedPre"
|
|
|
|
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/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" />
|
|
|
|
|
|
|
|
<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"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swTextFont"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swTextSeparators"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:enabled="true"
|
|
|
|
android:text="@string/title_advanced_text_separators"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swTextAlign"
|
|
|
|
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/swTextSeparators"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swImagesPlaceholders"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_image_placeholders"
|
|
|
|
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/tvImagesPlaceholdersHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_placeholders_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/swImagesPlaceholders" />
|
|
|
|
|
|
|
|
<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/tvImagesPlaceholdersHint"
|
|
|
|
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/swButtonExtra"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_button_extra"
|
|
|
|
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/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/swButtonExtra"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/cardAdvanced"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="3dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
app:cardBackgroundColor="?attr/colorCardBackground"
|
|
|
|
app:cardCornerRadius="6dp"
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cardBody">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-23 19:03:12 +00:00
|
|
|
android:paddingHorizontal="6dp"
|
|
|
|
android:paddingVertical="12dp">
|
2021-05-12 06:45:56 +00:00
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvAdvanced"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
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_toTopOf="parent" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
<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/twotone_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/tvParseClassesHint"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
2019-09-14 10:16:26 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-04-12 15:45:20 +00:00
|
|
|
</eu.faircode.email.ScrollViewEx>
|