2019-10-05 12:52:40 +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-10-05 12:52:40 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-03-03 15:25:29 +00:00
|
|
|
android:paddingStart="6dp"
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
android:paddingEnd="6dp"
|
|
|
|
android:paddingBottom="0dp"
|
2019-10-05 12:52:40 +00:00
|
|
|
android:scrollbarStyle="outsideOverlay"
|
2019-12-03 07:45:26 +00:00
|
|
|
tools:context="eu.faircode.email.ActivitySetup">
|
2019-10-05 12:52:40 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-03-04 07:56:13 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingBottom="24dp">
|
2019-10-05 12:52:40 +00:00
|
|
|
|
2020-03-10 07:48:54 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvCaptionGeneral"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
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" />
|
|
|
|
|
2020-01-31 12:39:05 +00:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swConfirmLinks"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_confirm_links"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-03-10 07:48:54 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvCaptionGeneral"
|
2020-01-31 12:39:05 +00:00
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2020-01-31 12:39:05 +00:00
|
|
|
android:id="@+id/tvConfirmLinksHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_display_harmful_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swConfirmLinks" />
|
|
|
|
|
2020-04-07 07:40:37 +00:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swBrowseLinks"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_browse_links"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvConfirmLinksHint"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
2020-01-31 12:39:05 +00:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swConfirmImages"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_confirm_images"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-04-07 07:40:37 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/swBrowseLinks"
|
2020-01-31 12:39:05 +00:00
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2020-01-31 12:39:05 +00:00
|
|
|
android:id="@+id/tvConfirmImagesHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_display_harmful_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swConfirmImages" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swConfirmHtml"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_confirm_html"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvConfirmImagesHint"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2020-01-31 12:39:05 +00:00
|
|
|
android:id="@+id/tvConfirmHtmlHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_display_harmful_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swConfirmHtml" />
|
|
|
|
|
2019-10-05 12:52:40 +00:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swDisableTracking"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-29 17:02:27 +00:00
|
|
|
android:layout_marginTop="12dp"
|
2019-10-05 12:52:40 +00:00
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_tracking"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-01-31 12:39:05 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvConfirmHtmlHint"
|
2019-10-05 12:52:40 +00:00
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-11-01 17:08:15 +00:00
|
|
|
android:id="@+id/tvBiometrics"
|
2019-10-20 08:22:21 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
2019-11-01 17:08:15 +00:00
|
|
|
android:text="@string/title_setup_biometrics"
|
2019-12-10 13:22:07 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2019-10-20 08:22:21 +00:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-03-15 10:04:24 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/swDisableTracking" />
|
2019-10-20 08:22:21 +00:00
|
|
|
|
2019-11-01 17:08:15 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/btnBiometrics"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
2019-10-20 08:22:21 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-11-01 17:08:15 +00:00
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:text="@string/title_setup_biometrics_enable"
|
2019-10-20 08:22:21 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-11-01 17:08:15 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBiometrics" />
|
2019-10-20 10:17:04 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnPin"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-11-01 17:08:15 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-10-20 10:17:04 +00:00
|
|
|
android:text="@string/title_advanced_pin"
|
2019-11-01 17:08:15 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBiometrics" />
|
2019-10-20 17:12:39 +00:00
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-10-20 17:12:39 +00:00
|
|
|
android:id="@+id/tvPinHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_display_pin_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/btnPin" />
|
2019-11-01 17:08:15 +00:00
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-11-01 17:08:15 +00:00
|
|
|
android:id="@+id/tvBiometricsTimeout"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_biometrics_timeout"
|
2019-12-10 13:22:07 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2019-11-01 17:08:15 +00:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvPinHint" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spBiometricsTimeout"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:entries="@array/biometricsTimeoutNames"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBiometricsTimeout" />
|
2020-03-12 07:24:10 +00:00
|
|
|
|
2020-03-15 10:04:24 +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/spBiometricsTimeout" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swDisplayHidden"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_display_hidden"
|
|
|
|
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/tvDisplayHiddenHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_display_hidden_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/swDisplayHidden" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swSecure"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_secure"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDisplayHiddenHint"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
android:id="@+id/tvSecureHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_english_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/swSecure" />
|
|
|
|
|
2020-03-12 07:24:10 +00:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swSafeBrowsing"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_safe_browsing"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-03-15 10:04:24 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSecureHint"
|
2020-03-12 07:24:10 +00:00
|
|
|
app:switchPadding="12dp" />
|
2020-03-29 16:46:48 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnSafeBrowsing"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:text="@string/title_info"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swSafeBrowsing" />
|
2020-03-31 10:31:30 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpSafeBrowsing"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="swSafeBrowsing,btnSafeBrowsing" />
|
2019-10-05 12:52:40 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-04-12 15:45:20 +00:00
|
|
|
</eu.faircode.email.ScrollViewEx>
|