|
|
|
@ -10,7 +10,7 @@
|
|
|
|
|
android:paddingEnd="6dp"
|
|
|
|
|
android:paddingBottom="0dp"
|
|
|
|
|
android:scrollbarStyle="outsideOverlay"
|
|
|
|
|
tools:context="eu.faircode.email.ActivitySetup">
|
|
|
|
|
tools:context=".ActivitySetup">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
@ -21,6 +21,7 @@
|
|
|
|
|
android:id="@+id/tvDefault"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="3dp"
|
|
|
|
|
android:drawableStart="@drawable/twotone_support_24"
|
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
@ -32,396 +33,434 @@
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<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_toBottomOf="@id/tvDefault" />
|
|
|
|
|
|
|
|
|
|
<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"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvCaptionGeneral"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swConfirmImages"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
<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"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/title_advanced_confirm_images"
|
|
|
|
|
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/swBrowseLinks"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDefault">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="6dp">
|
|
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
<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"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvCaptionGeneral"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
<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"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/swBrowseLinks"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swDisableTracking"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/title_advanced_tracking"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvConfirmHtmlHint"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swHideTimeZone"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/title_advanced_hide_timezone"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/swDisableTracking"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvBiometrics"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
|
android:text="@string/title_setup_biometrics"
|
|
|
|
|
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/swHideTimeZone" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnBiometrics"
|
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:text="@string/title_setup_biometrics_enable"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBiometrics" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnPin"
|
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
|
android:text="@string/title_advanced_pin"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBiometrics" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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"
|
|
|
|
|
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/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" />
|
|
|
|
|
</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"
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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:cardBackgroundColor="?attr/colorCardBackground"
|
|
|
|
|
app:cardCornerRadius="6dp"
|
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swConfirmHtml" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swDisableTracking"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/title_advanced_tracking"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvConfirmHtmlHint"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swHideTimeZone"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/title_advanced_hide_timezone"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/swDisableTracking"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvBiometrics"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
|
android:text="@string/title_setup_biometrics"
|
|
|
|
|
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/swHideTimeZone" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnBiometrics"
|
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:text="@string/title_setup_biometrics_enable"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBiometrics" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnPin"
|
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
|
android:text="@string/title_advanced_pin"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvBiometrics" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
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"
|
|
|
|
|
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/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" />
|
|
|
|
|
|
|
|
|
|
<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:textColor="?attr/colorWarning"
|
|
|
|
|
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/swIncognitoKeyboard"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:text="@string/title_advanced_incognito_keyboard"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDisplayHiddenHint"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/ibIncognitoKeyboard"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:contentDescription="@string/title_info"
|
|
|
|
|
android:tooltipText="@string/title_info"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swIncognitoKeyboard"
|
|
|
|
|
app:srcCompat="@drawable/twotone_info_24" />
|
|
|
|
|
|
|
|
|
|
<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/ibIncognitoKeyboard"
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<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"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSecureHint"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvSafeBrowsingHint"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
|
android:text="@string/title_advanced_safe_browsing_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/swSafeBrowsing" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/ibSafeBrowsing"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:contentDescription="@string/title_info"
|
|
|
|
|
android:tooltipText="@string/title_info"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSafeBrowsingHint"
|
|
|
|
|
app:srcCompat="@drawable/twotone_info_24" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvDisconnectBlacklist"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
|
android:paddingVertical="3dp"
|
|
|
|
|
android:text="@string/title_advanced_disconnect_blacklist"
|
|
|
|
|
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/ibSafeBrowsing" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/ibDisconnectBlacklist"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:contentDescription="@string/title_info"
|
|
|
|
|
android:tooltipText="@string/title_info"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDisconnectBlacklist"
|
|
|
|
|
app:srcCompat="@drawable/twotone_info_24" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnDisconnectBlacklist"
|
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:text="@string/title_download"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDisconnectBlacklist" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvDisconnectBlacklistTime"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="July 19, 11:30 AM"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
android:textStyle="italic"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnDisconnectBlacklist" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swDisconnectAutoUpdate"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:text="@string/title_advanced_disconnect_auto_update"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvDisconnectBlacklistTime"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swDisconnectLinks"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:text="@string/title_advanced_disconnect_links"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/swDisconnectAutoUpdate"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swDisconnectImages"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:text="@string/title_advanced_disconnect_images"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/swDisconnectLinks"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
|
android:id="@+id/grpSafeBrowsing"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
app:constraint_referenced_ids="swSafeBrowsing,tvSafeBrowsingHint,ibSafeBrowsing" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cardGeneral">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="6dp">
|
|
|
|
|
|
|
|
|
|
<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/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:textColor="?attr/colorWarning"
|
|
|
|
|
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/swIncognitoKeyboard"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:text="@string/title_advanced_incognito_keyboard"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDisplayHiddenHint"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/ibIncognitoKeyboard"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:contentDescription="@string/title_info"
|
|
|
|
|
android:tooltipText="@string/title_info"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swIncognitoKeyboard"
|
|
|
|
|
app:srcCompat="@drawable/twotone_info_24" />
|
|
|
|
|
|
|
|
|
|
<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/ibIncognitoKeyboard"
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<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"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSecureHint"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvSafeBrowsingHint"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
|
android:text="@string/title_advanced_safe_browsing_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/swSafeBrowsing" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/ibSafeBrowsing"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:contentDescription="@string/title_info"
|
|
|
|
|
android:tooltipText="@string/title_info"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSafeBrowsingHint"
|
|
|
|
|
app:srcCompat="@drawable/twotone_info_24" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvDisconnectBlacklist"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
|
android:paddingVertical="3dp"
|
|
|
|
|
android:text="@string/title_advanced_disconnect_blacklist"
|
|
|
|
|
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/ibSafeBrowsing" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/ibDisconnectBlacklist"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:contentDescription="@string/title_info"
|
|
|
|
|
android:tooltipText="@string/title_info"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDisconnectBlacklist"
|
|
|
|
|
app:srcCompat="@drawable/twotone_info_24" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnDisconnectBlacklist"
|
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:text="@string/title_download"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDisconnectBlacklist" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvDisconnectBlacklistTime"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="July 19, 11:30 AM"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
android:textStyle="italic"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnDisconnectBlacklist" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swDisconnectAutoUpdate"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:text="@string/title_advanced_disconnect_auto_update"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvDisconnectBlacklistTime"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swDisconnectLinks"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:text="@string/title_advanced_disconnect_links"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/swDisconnectAutoUpdate"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/swDisconnectImages"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:text="@string/title_advanced_disconnect_images"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/swDisconnectLinks"
|
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
|
android:id="@+id/grpSafeBrowsing"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
app:constraint_referenced_ids="swSafeBrowsing,tvSafeBrowsingHint,ibSafeBrowsing" />
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</eu.faircode.email.ScrollViewEx>
|
|
|
|
|