mirror of https://github.com/M66B/FairEmail.git
142 lines
6.3 KiB
XML
142 lines
6.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="24dp">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/tvCaption"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/title_signature_valid"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvCertificateInvalid"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:text="@string/title_signature_certificate_invalid"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="?attr/colorWarning"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvCaption" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvSenderTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:text="@string/title_signature_sender"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvCertificateInvalid" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvSender"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="test@example.com"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvSenderTitle" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvEmailTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:text="@string/title_signature_email"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvSender" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvEmail"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="test@example.com"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvEmailTitle" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvEmailInvalid"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/title_signature_mismatch"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="?attr/colorWarning"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvEmail" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvSubjectTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:text="@string/title_signature_subject"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvEmailInvalid" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvSubject"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="CN=test@example.com"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvSubjectTitle" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvValidityTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:text="@string/title_signature_validity"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvSubject" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvAfter"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="after"
|
|
android:textAppearance="@android:style/TextAppearance.Small"
|
|
app:layout_constraintEnd_toStartOf="@+id/tvBefore"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/tvValidityTitle" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvBefore"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:text="before"
|
|
android:textAppearance="@android:style/TextAppearance.Small"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/tvAfter"
|
|
app:layout_constraintTop_toBottomOf="@+id/tvValidityTitle" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvExpired"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/title_signature_outdated"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="?attr/colorWarning"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tvAfter" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</ScrollView> |