Added authentication legend

This commit is contained in:
M66B 2021-07-19 10:11:58 +02:00
parent 1cfb9741e3
commit add4806ac5
2 changed files with 48 additions and 3 deletions

View File

@ -1447,14 +1447,56 @@
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginTop="12dp"
android:checked="true"
android:drawableStart="@drawable/twotone_shield_warning_24"
android:drawablePadding="6dp"
android:text="@string/title_advanced_authentication_indicator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvAuthenticationHint"
app:switchPadding="12dp" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvAuthNone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginTop="6dp"
android:drawableStart="@drawable/twotone_shield_cross_24"
android:drawablePadding="6dp"
android:drawableTint="?attr/colorSeparator"
android:text="@string/title_advanced_authentication_none"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swAuthenticationIndicator" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvAuthSome"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginTop="6dp"
android:drawableStart="@drawable/twotone_shield_warning_24"
android:drawablePadding="6dp"
android:drawableTint="?attr/colorSeparator"
android:text="@string/title_advanced_authentication_some"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvAuthNone" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvAutheAll"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginTop="6dp"
android:drawableStart="@drawable/twotone_shield_check_24"
android:drawablePadding="6dp"
android:drawableTint="?attr/colorControlNormal"
android:text="@string/title_advanced_authentication_all"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvAuthSome" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -453,6 +453,9 @@
<string name="title_advanced_authentication">Show authentication warnings</string>
<string name="title_advanced_authentication_hint">The underlying checks can be configured in the receive settings</string>
<string name="title_advanced_authentication_indicator">Show authentication status indicator</string>
<string name="title_advanced_authentication_none">No authentication</string>
<string name="title_advanced_authentication_some">Partial authentication</string>
<string name="title_advanced_authentication_all">Complete authentication</string>
<string name="title_advanced_sync_on_launch">Synchronize on start</string>
<string name="title_advanced_double_back">Double \'back\' to exit</string>